Changeset 3105 for trunk/GSASIIimage.py
 Timestamp:
 Sep 29, 2017 1:10:11 PM (5 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/GSASIIimage.py
r3104 r3105 423 423 dy = ydata['center'][1] 424 424 G = ((dxx0)**2+dy**2+distsq)/distsq #for geometric correction = 1/cos(2theta)^2 if tilt=0. 425 X = np.dstack([dx.T,dy.T,np.zeros_like(dx.T)]) 426 Z = np.dot(X,MN).T[2] 425 Z = np.dot(np.dstack([dx.T,dy.T,np.zeros_like(dx.T)]),MN).T[2] 427 426 xyZ = dx**2+dy**2Z**2 428 427 tth = npatand(np.sqrt(xyZ)/(distZ))
Note: See TracChangeset
for help on using the changeset viewer.