Changeset 3670 for trunk/exports/G2export_FIT2D.py
- Timestamp:
- Oct 11, 2018 11:52:33 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/exports/G2export_FIT2D.py ΒΆ
r3223 r3670 93 93 inst = histblk['Instrument Parameters'][0] 94 94 self.Write(str(TreeName)[5:]) # drop 'PWDR ' 95 self.Write("Q") 95 if 'Lam1' in inst: 96 print('Do you really want to write a multi-wavelength pattern in Q?') 97 lam = 0. 98 else: 99 lam = inst['Lam'][1] 100 self.Write("Q{:>20.6f}".format(lam)) 96 101 self.Write("Intensity") 97 102 self.Write(" "+str(len(histblk['Data'][0])))
Note: See TracChangeset
for help on using the changeset viewer.