Changeset 1169 for trunk/GSASIIimage.py


Ignore:
Timestamp:
Dec 17, 2013 9:38:23 AM (9 years ago)
Author:
vondreele
Message:

fix space group ops. cif output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimage.py

    r1167 r1169  
    368368                   
    369369def GetTthAzmDsp(x,y,data):
    370     'Needs a doc string - checked OK for ellipses dont know about hyperbola'
     370    'Needs a doc string - checked OK for ellipses & hyperbola'
    371371    wave = data['wavelength']
    372372    cent = data['center']
     
    386386    DX = dist-Z+dxy
    387387    DY = np.sqrt(dx**2+dy**2-Z**2)
    388     D = (DX**2+DY**2)/dist**2       #for geometric correction = 1/cos(2theta)^2 if tilt=0.
     388    D = (DX**2+DY**2)/data['distance']**2       #for geometric correction = 1/cos(2theta)^2 if tilt=0.
    389389    tth = npatan2d(DY,DX) #depth corr not correct for tilted detector
    390390    dsp = wave/(2.*npsind(tth/2.))
Note: See TracChangeset for help on using the changeset viewer.