Changeset 1228 for trunk/GSASIIIO.py


Ignore:
Timestamp:
Feb 24, 2014 3:43:15 PM (8 years ago)
Author:
vondreele
Message:

remove diagnostic prints in image calibration stuff
some fine tuning of the image calibration
make CheMin? images "right" way around as requested by Dave Bish
Apply James Hester's fix to Pawley update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r1223 r1228  
    601601        tifType = 'CheMin'
    602602        pixy = [40,40]
    603         image = np.array(Im.open(filename))
     603        image = np.flipud(np.array(Im.open(filename)))*10.
    604604        distance = 18.0
    605         center = [pixy[0]*sizexy[0]/2000,pixy[1]*sizexy[1]/1000]
     605        center = [pixy[0]*sizexy[0]/2000,0]     #the CheMin beam stop is here
    606606        wavelength = 1.78892
    607607    elif 272 in IFD:
     
    620620        else:
    621621            if IFD[258][2][0] == 16:
    622                 print sizexy
    623622                tifType = 'GE'
    624623                pixy = (200,200)
     
    628627                image = np.array(ar.array('H',File.read(2*Npix)),dtype=np.int32)
    629628            elif IFD[258][2][0] == 32:
    630                 print sizexy
    631629                tifType = 'CHESS'
    632630                pixy = (200,200)
Note: See TracChangeset for help on using the changeset viewer.