Changeset 3299
- Timestamp:
- Feb 28, 2018 11:59:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/exports/G2export_csv.py
r3230 r3299 26 26 import GSASIImath as G2mth 27 27 import GSASIIpwd as G2pwd 28 import GSASIIlattice as G2lat 28 29 29 30 def WriteList(obj,headerItems): … … 178 179 self.OpenFile(filename) 179 180 histblk = self.Histograms[TreeName] 180 WriteList(self,("x","y_obs","weight","y_calc","y_bkg")) 181 digitList = 2*((13,3),) + ((13,5),) + 2*((13,3),) 181 Parms = self.Histograms[TreeName]['Instrument Parameters'][0] 182 WriteList(self,("x","y_obs","weight","y_calc","y_bkg","Q")) 183 digitList = 2*((13,3),) + ((13,5),) + 3*((13,3),) 182 184 for vallist in zip(histblk['Data'][0], 183 185 histblk['Data'][1], … … 186 188 histblk['Data'][4], 187 189 #histblk['Data'][5], 190 2*np.pi/G2lat.Pos2dsp(Parms,histblk['Data'][0]) 188 191 ): 189 192 line = ""
Note: See TracChangeset
for help on using the changeset viewer.