Changeset 1786 for trunk/GSASIImath.py
- Timestamp:
- Apr 10, 2015 1:14:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/GSASIImath.py ΒΆ
r1780 r1786 1775 1775 hkl = np.asarray(hkl,dtype='i') 1776 1776 dp = 360.*Phi[i] #and phi 1777 a = cosd(ph +dp)1778 b = sind(ph +dp)1779 phasep = complex(a,b) 1780 phasem = complex(a,-b) 1777 a = cosd(ph) 1778 b = sind(ph) 1779 phasep = complex(a,b)+dp 1780 phasem = complex(a,-b)-dp 1781 1781 if 'Fobs' in mapData['MapType']: 1782 1782 F = np.where(Fosq>0.,np.sqrt(Fosq),0.)
Note: See TracChangeset
for help on using the changeset viewer.