Changeset 7988501 in sasview for src/sas/sasgui/perspectives/fitting
- Timestamp:
- Oct 8, 2016 2:34:03 PM (8 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 51a4d78
- Parents:
- 6df015de
- Location:
- src/sas/sasgui/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/basepage.py
r6df015de r7988501 282 282 num=self.npts_x, endpoint=True) 283 283 self.data = Data1D(x=x) 284 self.data.xaxis('\\rm{Q}', "A^{-1}") 285 self.data.yaxis('\\rm{Intensity}', "cm^{-1}") 284 #self.data.xaxis('\\rm{Q}', "A^{-1}") 285 self.data.xaxis('\\rm{X}', "") 286 #self.data.yaxis('\\rm{Intensity}', "cm^{-1}") 287 self.data.yaxis('\\rm{Y}', "") 286 288 self.data.is_data = False 287 289 self.data.id = str(self.uid) + " data" … … 308 310 num=self.npts_x, endpoint=True, base=10.0) 309 311 self.data = Data1D(x=x) 310 self.data.xaxis('\\rm{Q}', "A^{-1}") 311 self.data.yaxis('\\rm{Intensity}', "cm^{-1}") 312 #self.data.xaxis('\\rm{Q}', "A^{-1}") 313 #self.data.yaxis('\\rm{Intensity}', "cm^{-1}") 314 self.data.xaxis('\\rm{X}', "") 315 self.data.yaxis('\\rm{Y}', "") 312 316 self.data.is_data = False 313 317 self.data.id = str(self.uid) + " data" -
src/sas/sasgui/perspectives/fitting/fitpage.py
r6df015de r7988501 98 98 def onTrafo(self, event): 99 99 """ 100 On Weighting radio button event, sets the weightbt_string100 On Trafo radio button event, sets the Trafobt_string 101 101 """ 102 102 self.Trafobt_string = event.GetEventObject().GetLabelText() … … 120 120 self.no_transform = wx.RadioButton(self, wx.ID_ANY, 121 121 'None', style=wx.RB_GROUP) 122 self.Bind(wx.EVT_RADIOBUTTON, self.onTrafo, 123 id=self.no_transform.GetId()) 122 123 #self.Bind(wx.EVT_RADIOBUTTON, self.onTrafo, 124 # id=self.no_transform.GetId()) 124 125 self.hankel = wx.RadioButton(self, wx.ID_ANY, 125 126 'Hankel') 126 self.Bind(wx.EVT_RADIOBUTTON, self.onTrafo,127 id=self.hankel.GetId())127 #self.Bind(wx.EVT_RADIOBUTTON, self.onTrafo, 128 # id=self.hankel.GetId()) 128 129 self.cosine = wx.RadioButton(self, wx.ID_ANY, 129 130 'Cosine') 130 self.Bind(wx.EVT_RADIOBUTTON, self.onTrafo,131 id=self.cosine.GetId())131 #self.Bind(wx.EVT_RADIOBUTTON, self.onTrafo, 132 # id=self.cosine.GetId()) 132 133 133 134 #Not sure about this (only once though)
Note: See TracChangeset
for help on using the changeset viewer.