Changeset 1480 for trunk/GSASIIplot.py
- Timestamp:
- Aug 27, 2014 12:59:17 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r1475 r1480 2406 2406 uvw = np.inner(A.T,xyz) 2407 2407 Strm = np.array(G2spc.MustrainCoeff(uvw,SGData)) 2408 sum = np.sum(np.multiply(Shkl,Strm))2409 sum = np.where(sum > 0.01,sum,0.01)2410 sum = np.sqrt(sum)*math.pi/.18 #centidegrees to radians!2411 return sum*xyz2408 Sum = np.sum(np.multiply(Shkl,Strm)) 2409 Sum = np.where(Sum > 0.01,Sum,0.01) 2410 Sum = np.sqrt(Sum) 2411 return Sum*xyz 2412 2412 2413 2413 Shkl = np.array(coeff[4])
Note: See TracChangeset
for help on using the changeset viewer.