Changeset 358 for trunk/GSASIIstruct.py


Ignore:
Timestamp:
Aug 30, 2011 12:33:09 PM (11 years ago)
Author:
vondreele
Message:

small fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstruct.py

    r357 r358  
    11271127        tanPos = tand(refl[5]/2.0)
    11281128        sig = U*tanPos**2+V*tanPos+W        #save peak sigma
     1129        sig = max(0.001,sig)
    11291130        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)
    11301132        return sig,gam
    11311133               
     
    13521354                    iFin = min(lenX,iFin+kdelt)
    13531355                    if iBeg-iFin:
    1354                         dMdipk2 = G2pwd.getdFCJVoigt3(pos2,refl[6],refl[7],shl,xdata[iBeg:iFin])
     1356                        dMdipk2 = G2pwd.getdFCJVoigt3(pos2,refl[6],refl[7],shl,x[iBeg:iFin])
    13551357                        for i in range(1,5):
    13561358                            dMdpk[i][iBeg:iFin] += 100.*dx*Icorr*refl[8]*kRatio*dMdipk2[i]
Note: See TracChangeset for help on using the changeset viewer.