Changeset 3941
 Timestamp:
 May 1, 2019 9:50:10 AM (4 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/GSASIImath.py
r3913 r3941 4057 4057 if 'C' in Parms['Type'][0]: #CW data  TOF later in an else 4058 4058 for x in ['U','V','W','X','Y','Z']: 4059 ins[x] = Parms [x][ind]4059 ins[x] = Parms.get(x,[0.0,0.0])[ind] 4060 4060 if ifQ: #qplot  convert back to 2theta 4061 4061 pos = 2.0*asind(pos*getWave(Parms)/(4*math.pi)) … … 4071 4071 if 'Pdabc' in Parms2: 4072 4072 for x in ['sig0','sig1','sig2','sigq','X','Y','Z']: 4073 ins[x] = Parms [x][ind]4073 ins[x] = Parms.get(x,[0.0,0.0])[ind] 4074 4074 Pdabc = Parms2['Pdabc'].T 4075 4075 alp = np.interp(dsp,Pdabc[0],Pdabc[1]) … … 4077 4077 else: 4078 4078 for x in ['alpha','beta0','beta1','betaq','sig0','sig1','sig2','sigq','X','Y','Z']: 4079 ins[x] = Parms [x][ind]4079 ins[x] = Parms.get(x,[0.0,0.0])[ind] 4080 4080 alp = getTOFalpha(ins,dsp) 4081 4081 bet = getTOFbeta(ins,dsp)
Note: See TracChangeset
for help on using the changeset viewer.