Changeset 3164
- Timestamp:
- Nov 28, 2017 11:32:31 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIElem.py
r3136 r3164 396 396 D1 = T1**2+gam**2 397 397 D2 = T2**2+gam**2 398 FP[i] = Re*(T0/D0+A*T1/D1+B*T2/D2) 399 FPP[i] = Im*(1/D0+A/D1+B/D2)398 FP[i] = Re*(T0/D0+A*T1/D1+B*T2/D2)+BL[i]['BW-LS'][0] 399 FPP[i] = -Im*(1/D0+A/D1+B/D2) 400 400 else: 401 401 FPP[i] = BL['SL'][1] #for Li, B, etc. … … 416 416 D1 = T1**2+gam**2 417 417 D2 = T2**2+gam**2 418 FP[i] = Re*(T0/D0+A*T1/D1+B*T2/D2) 419 FPP[i] = Im*(1/D0+A/D1+B/D2)418 FP[i] = Re*(T0/D0+A*T1/D1+B*T2/D2)+BL[i]['BW-LS'][0] 419 FPP[i] = -Im*(1/D0+A/D1+B/D2) 420 420 else: 421 421 FPP[i] = np.ones(len(wave))*BL[i]['SL'][1] #for Li, B, etc. -
trunk/GSASIImath.py
r3157 r3164 31 31 import numpy.fft as fft 32 32 import scipy.optimize as so 33 import pypowder as pwd 33 try: 34 import pypowder as pyd 35 except ImportError: 36 print ('pypowder is not available - profile calcs. not allowed') 34 37 35 38 sind = lambda x: np.sin(x*np.pi/180.) -
trunk/GSASIIpwd.py
r3157 r3164 37 37 import GSASIIElem as G2elem 38 38 import GSASIImath as G2mth 39 import pypowder as pyd 39 try: 40 import pypowder as pyd 41 except ImportError: 42 print ('pypowder is not available - profile calcs. not allowed') 40 43 try: 41 44 import pydiffax as pyx
Note: See TracChangeset
for help on using the changeset viewer.