Changeset 1169 for trunk/GSASIIimage.py
 Timestamp:
 Dec 17, 2013 9:38:23 AM (9 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/GSASIIimage.py
r1167 r1169 368 368 369 369 def GetTthAzmDsp(x,y,data): 370 'Needs a doc string  checked OK for ellipses dont know abouthyperbola'370 'Needs a doc string  checked OK for ellipses & hyperbola' 371 371 wave = data['wavelength'] 372 372 cent = data['center'] … … 386 386 DX = distZ+dxy 387 387 DY = np.sqrt(dx**2+dy**2Z**2) 388 D = (DX**2+DY**2)/d ist**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. 389 389 tth = npatan2d(DY,DX) #depth corr not correct for tilted detector 390 390 dsp = wave/(2.*npsind(tth/2.))
Note: See TracChangeset
for help on using the changeset viewer.