Skip to content

Commit 038167e

Browse files
committed
more fixes for changes in #245
1 parent 890b39e commit 038167e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

GSASII/GSASIImath.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5150,8 +5150,9 @@ def setPeakparms(Parms,Parms2,pos,mag,ifQ=False,useFit=False):
51505150
pos = Parms['difC']*dsp
51515151
else:
51525152
dsp = pos/Parms['difC'][1]
5153-
for x in ['sig-0','sig-1','sig-2','sig-q','X','Y','Z']:
5154-
ins[x] = Parms.get(x,[0.0,0.0])[ind] #
5153+
for x in ('alpha','beta-0','beta-1','beta-q',
5154+
'sig-0','sig-1','sig-2','sig-q','X','Y','Z'):
5155+
ins[x] = Parms.get(x,[0.0,0.0])[ind]
51555156
ins['pdabc'] = Parms2.get('pdabc',{})
51565157
alp,bet,gam,sig = G2pwd.getTOFwids(dsp,[],0,ins)
51575158
XY = [pos,0,mag,1,alp,0,bet,0,sig,0,gam,0]

0 commit comments

Comments
 (0)