Changeset 2018
- Timestamp:
- Oct 20, 2015 11:37:34 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r2015 r2018 3526 3526 ''' 3527 3527 plotNo = G2frame.G2plotNB.nb.GetSelection() 3528 if plotNo < 0: return # no plots 3528 3529 if G2frame.G2plotNB.nb.GetPageText(plotNo) == '2D Powder Image': 3529 3530 PlotImage(G2frame,newPlot,event,newImage=True) -
trunk/exports/G2export_FIT2D.py
r1997 r2018 25 25 import GSASIIpwd as G2pwd 26 26 27 class ExportPowderC SV(G2IO.ExportBaseclass):28 '''Used to create a csvfile for a powder data set27 class ExportPowderCHI(G2IO.ExportBaseclass): 28 '''Used to create a CHI file for a powder data set 29 29 30 30 :param wx.Frame G2frame: reference to main GSAS-II frame … … 43 43 self.OpenFile(filename) 44 44 histblk = self.Histograms[TreeName] 45 self.Write( os.path.split(self.fullpath)[1])45 self.Write(str(TreeName)[5:]) # drop 'PWDR ' 46 46 self.Write("2-Theta Angle (Degrees)") 47 47 self.Write("Intensity") -
trunk/exports/G2export_pwdr.py
r1997 r2018 106 106 self.filename= os.path.splitext(self.filename)[0] + self.extension 107 107 108 prmname = self.WriteInstFile(TreeName,histblk['Instrument Parameters'][0]) 108 histblk = self.Histograms[hist] 109 prmname = self.WriteInstFile(hist,histblk['Instrument Parameters'][0]) 109 110 self.Writer(hist,prmname=prmname) 110 111 print('Histogram '+str(hist)+' written to file '+str(self.fullpath))
Note: See TracChangeset
for help on using the changeset viewer.