Changeset 1793
- Timestamp:
- Apr 17, 2015 12:31:34 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIlattice.py
r1792 r1793 1163 1163 'needs doc string' 1164 1164 import pytexture as ptx 1165 if psi.shape: 1165 if 'float' in str(type(psi)): 1166 psrs,dpdps = ptx.pyplmpsi(L,M,1,psi) 1167 else: 1166 1168 psrs = np.array([ptx.pyplmpsi(L,M,1,p) for p in psi]) 1167 1169 psrs,dpdps = np.reshape(psrs.flatten(),(-1,2)).T 1168 else:1169 psrs,dpdps = ptx.pyplmpsi(L,M,1,psi)1170 1170 psrs *= RSQ2PI 1171 1171 dpdps *= RSQ2PI -
trunk/GSASIIstrMath.py
r1792 r1793 407 407 toler = calcControls[phfx+'SHtoler'] 408 408 wt = 1./toler**2 409 HKLs = calcControls[phfx+'SHhkl']409 HKLs = np.array(calcControls[phfx+'SHhkl']) 410 410 SHnames = calcControls[phfx+'SHnames'] 411 411 SHcof = dict(zip(SHnames,[parmDict[phfx+cof] for cof in SHnames]))
Note: See TracChangeset
for help on using the changeset viewer.