Changeset b5e98540 in sasview for sansview/perspectives/fitting/fitpage.py
- Timestamp:
- Apr 15, 2009 12:39:38 PM (15 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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- aa1e9a72
- Parents:
- 27c5c26
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitpage.py
r27c5c26 rb5e98540 145 145 if not hasattr(self.data,"data"): #Display only for 1D data fit 146 146 # Minimum value of data 147 data_min = str(format_number(numpy.min(self.data.x))) 147 #data_min = str(format_number(numpy.min(self.data.x))) 148 data_min = str((numpy.min(self.data.x))) 148 149 # Maximum value of data 149 data_max = str(format_number(numpy.max(self.data.x))) 150 # data_max = str(format_number(numpy.max(self.data.x))) 151 data_max = str((numpy.max(self.data.x))) 150 152 text4_3 = wx.StaticText(self, -1, 'Total Q Range (1/A)', 151 153 style=wx.ALIGN_LEFT) … … 160 162 y= numpy.max(self.data.ymin, self.data.ymax) 161 163 radius_max = math.sqrt(x*x + y*y) 164 165 #For qmin and qmax, do not use format_number.(If do, qmin and max could be different from what is in the data.) 162 166 # Minimum value of data 163 data_min = str(format_number(radius_min)) 167 #data_min = str(format_number(radius_min)) 168 data_min = str((radius_min)) 164 169 # Maximum value of data 165 data_max = str(format_number(radius_max)) 170 #data_max = str(format_number(radius_max)) 171 data_max = str((radius_max)) 166 172 text4_3 = wx.StaticText(self, -1, 'Total Q Range (1/A)', 167 173 style=wx.ALIGN_LEFT)
Note: See TracChangeset
for help on using the changeset viewer.