Changeset 1954 for trunk/GSASIIstrIO.py
- Timestamp:
- Aug 10, 2015 3:48:11 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIstrIO.py
r1944 r1954 1160 1160 for Stype in ['Sfrac','Spos','Sadp','Smag']: 1161 1161 Waves = AtomSS[Stype] 1162 uId,uCoef = CSI[Stype]1163 1162 for iw,wave in enumerate(Waves): 1164 1163 if not iw: 1165 CSI = G2spc.GetSSfxuinel(waveType, at[cx:cx+3],SGData,SSGData)1164 CSI = G2spc.GetSSfxuinel(waveType,iw,at[cx:cx+3],SGData,SSGData) 1166 1165 else: 1167 CSI = G2spc.GetSSfxuinel('Fourier',at[cx:cx+3],SGData,SSGData) 1166 CSI = G2spc.GetSSfxuinel('Fourier',iw,at[cx:cx+3],SGData,SSGData) 1167 uId,uCoef = CSI[Stype] 1168 1168 stiw = str(i)+':'+str(iw) 1169 1169 if Stype == 'Spos': … … 1192 1192 pfx+'MXcos:'+stiw,pfx+'MYcos:'+stiw,pfx+'MZcos:'+stiw] 1193 1193 phaseDict.update(dict(zip(names,wave[0]))) 1194 if wave[1]: 1194 if wave[1]: #what do we do here for multiple terms in modulation constraints? 1195 1195 for j in range(len(equivs)): 1196 if uId[j] > 0:1196 if uId[j][0] > 0: 1197 1197 phaseVary.append(names[j]) 1198 equivs[uId[j] -1].append([names[j],uCoef[j]])1198 equivs[uId[j][0]-1].append([names[j],uCoef[j][0]]) 1199 1199 for equiv in equivs: 1200 1200 if len(equiv) > 1:
Note: See TracChangeset
for help on using the changeset viewer.