Changeset 1841
- Timestamp:
- May 7, 2015 4:20:21 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIpwdGUI.py
r1840 r1841 2444 2444 names = 'M20,X20,Bravais,a,b,c,alpha,beta,gamma,volume\n' 2445 2445 File.write(names) 2446 fmt = '% d,%d,%s,%.4f,%.4f,%.4f,%.2f,%.2f,%.2f,%.3f\n'2446 fmt = '%.2f,%d,%s,%.4f,%.4f,%.4f,%.2f,%.2f,%.2f,%.3f\n' 2447 2447 for cell in cells: 2448 2448 File.write(fmt%(cell[0],cell[1],bravaisSymb[cell[2]], cell[3],cell[4],cell[5], cell[6],cell[7],cell[8],cell[9])) -
trunk/GSASIIstrIO.py
r1820 r1841 753 753 ################################################################################ 754 754 755 def GetPhaseData(PhaseData,RestraintDict={},rbIds={},Print=True,pFile=None ):755 def GetPhaseData(PhaseData,RestraintDict={},rbIds={},Print=True,pFile=None,seqRef=False): 756 756 'needs a doc string' 757 757 … … 1165 1165 maxSSwave[pfx][Stype] = max(maxSSwave[pfx][Stype],iw+1) 1166 1166 textureData = General['SH Texture'] 1167 if textureData['Order'] :1167 if textureData['Order'] and not seqRef: 1168 1168 phaseDict[pfx+'SHorder'] = textureData['Order'] 1169 1169 phaseDict[pfx+'SHmodel'] = SamSym[textureData['Model']] … … 1209 1209 print >>pFile,'\n Modulation vector: mV0 = %.4f'%(Vec[0]),' mV1 = %.4f'%(Vec[1]), \ 1210 1210 ' mV2 = %.4f'%(Vec[2]),' max mod. index = %d'%(maxH),' Refine?',vRef 1211 PrintTexture(textureData) 1211 if not setRef: 1212 PrintTexture(textureData) 1212 1213 if name in RestraintDict: 1213 1214 PrintRestraints(cell[1:7],SGData,General['AtomPtrs'],Atoms,AtLookup, -
trunk/GSASIIstrMain.py
r1835 r1841 259 259 rbIds = rigidbodyDict.get('RBIds',{'Vector':[],'Residue':[]}) 260 260 rbVary,rbDict = G2stIO.GetRigidBodyModels(rigidbodyDict,pFile=printFile) 261 Natoms,atomIndx,phaseVary,phaseDict,pawleyLookup,FFtables,BLtables,maxSSwave = G2stIO.GetPhaseData(Phases,restraintDict,rbIds,False,printFile )261 Natoms,atomIndx,phaseVary,phaseDict,pawleyLookup,FFtables,BLtables,maxSSwave = G2stIO.GetPhaseData(Phases,restraintDict,rbIds,False,printFile,seqRef=True) 262 262 for item in phaseVary: 263 263 if '::A0' in item:
Note: See TracChangeset
for help on using the changeset viewer.