Changeset 2773 for trunk/GSASIIimage.py


Ignore:
Timestamp:
Apr 5, 2017 8:21:48 AM (5 years ago)
Author:
vondreele
Message:

avoid DetDep? missing error from old gpx files
speedups in image importers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r2760 r2773  
    380380    x0 = dist*tand(tilt)
    381381    phi = data['rotation']
    382     dep = data['DetDepth']
     382    dep = data.get('DetDepth',0.)
    383383    azmthoff = data['azmthOff']
    384384    dx = np.array(x-cent[0],dtype=np.float32)
Note: See TracChangeset for help on using the changeset viewer.