Ignore:
Timestamp:
May 16, 2017 4:02:31 PM (5 years ago)
Author:
vondreele
Message:

add self.scriptable=False to ImportBaseClass?
set it True in various PWDR readers
when selecting points for image calibration, shift key forces selection at cursor
Status bar text changes to reflect this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2img_CheMin.py

    r2817 r2835  
    4141        '''
    4242        import scipy.misc
    43         self.Image = scipy.misc.imread(filename,flatten=True).T
     43        self.Image = scipy.misc.imread(filename,flatten=True)
    4444        self.Npix = self.Image.size
    4545        if self.Npix == 0:
     
    4949            self.Comments = ['no metadata']
    5050            pixy = list(self.Image.shape)
    51             sizexy = [40,40]
     51            sizexy = [40.,40.]
    5252            self.Data = {'wavelength': 1.78892, 'pixelSize': sizexy, 'distance': 18.0,'size':pixy}
    5353            self.Data['center'] = [pixy[0]*sizexy[0]/1000.,pixy[1]*sizexy[1]/2000.]
Note: See TracChangeset for help on using the changeset viewer.