Skip to content

Commit a8343ca

Browse files
committed
"fix" to multiple scattering extinction derivatives.
1 parent 7fa1e71 commit a8343ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

GSASII/GSASIIstrMath.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2733,9 +2733,9 @@ def SCExtinction(ref,im,phfx,hfx,pfx,calcControls,parmDict,varyList):
27332733
PB = np.exp(-parmDict[phfx+'Mb']*FPone**2)
27342734
PC = np.exp(-parmDict[phfx+'Mc']*FPone**3)
27352735
extCor = (PA+ + PB + PC)/3.
2736-
dervDict[phfx+'Ma'] = -PA*FPone/3.
2737-
dervDict[phfx+'Mb'] = -PB*FPone**2/3.
2738-
dervDict[phfx+'Mc'] = -PC*FPone**3/3.
2736+
dervDict[phfx+'Ma'] = -4.*PA*FPone**2
2737+
dervDict[phfx+'Mb'] = -PB*FPone**4
2738+
dervDict[phfx+'Mc'] = -PC*FPone**6
27392739
return extCor,dervDict
27402740

27412741
if calcControls[phfx+'EType'] != 'None':

0 commit comments

Comments
 (0)