Changeset 358 for trunk/GSASIIstruct.py
- Timestamp:
- Aug 30, 2011 12:33:09 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIstruct.py
r357 r358 1127 1127 tanPos = tand(refl[5]/2.0) 1128 1128 sig = U*tanPos**2+V*tanPos+W #save peak sigma 1129 sig = max(0.001,sig) 1129 1130 gam = X/cosd(refl[5]/2.0)+Y*tanPos+GetSampleGam(refl,wave,G,phfx,calcControls,parmDict,sizeEllipse) #save peak gamma 1131 gam = max(0.01,gam) 1130 1132 return sig,gam 1131 1133 … … 1352 1354 iFin = min(lenX,iFin+kdelt) 1353 1355 if iBeg-iFin: 1354 dMdipk2 = G2pwd.getdFCJVoigt3(pos2,refl[6],refl[7],shl,x data[iBeg:iFin])1356 dMdipk2 = G2pwd.getdFCJVoigt3(pos2,refl[6],refl[7],shl,x[iBeg:iFin]) 1355 1357 for i in range(1,5): 1356 1358 dMdpk[i][iBeg:iFin] += 100.*dx*Icorr*refl[8]*kRatio*dMdipk2[i]
Note: See TracChangeset
for help on using the changeset viewer.