- Timestamp:
- May 1, 2019 9:50:10 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified 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 2-theta 4061 4061 pos = 2.0*asind(pos*getWave(Parms)/(4*math.pi)) … … 4071 4071 if 'Pdabc' in Parms2: 4072 4072 for x in ['sig-0','sig-1','sig-2','sig-q','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','beta-0','beta-1','beta-q','sig-0','sig-1','sig-2','sig-q','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.