Changeset 3345 for trunk/GSASIIimage.py


Ignore:
Timestamp:
Apr 16, 2018 5:41:34 PM (5 years ago)
Author:
toby
Message:

rework ValidatedTextCtrl? so that typeHint overrides the initial variable type; fix display of invalid numbers; use nDig to drive typeHint to float; postpone import of pyspg & polymask when not needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r3186 r3345  
    2121import numpy.linalg as nl
    2222import numpy.ma as ma
    23 import polymask as pm
    2423from scipy.optimize import leastsq
    2524import scipy.interpolate as scint
     
    487486   
    488487def MakeFrameMask(data,frame):
     488    import polymask as pm
    489489    pixelSize = data['pixelSize']
    490490    scalex = pixelSize[0]/1000.
     
    830830
    831831def MakeMaskMap(data,masks,iLim,jLim,tamp):
     832    import polymask as pm
    832833    pixelSize = data['pixelSize']
    833834    scalex = pixelSize[0]/1000.
Note: See TracChangeset for help on using the changeset viewer.