Changeset fa81e94 in sasview for src/sas/sasgui/plottools/fitDialog.py
- Timestamp:
- Nov 15, 2017 4:33:09 AM (7 years ago)
- Branches:
- 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
- Children:
- d4881f6a
- Parents:
- 7c487846
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/plottools/fitDialog.py
- Property mode changed from 100644 to 100755
r7432acb rfa81e94 1 1 import wx 2 from plottables import Theory1D2 from .plottables import Theory1D 3 3 import math 4 4 import numpy as np 5 import fittings6 import transform5 from . import fittings 6 from . import transform 7 7 import sys 8 8 … … 86 86 self.layout() 87 87 # Receives the type of model for the fitting 88 from LineModel import LineModel88 from .LineModel import LineModel 89 89 self.model = LineModel() 90 90 # Display the fittings values … … 671 671 return x 672 672 else: 673 raise ValueError , "cannot compute log of a negative number"673 raise ValueError("cannot compute log of a negative number") 674 674 675 675 def floatInvTransform(self, x): … … 734 734 except: 735 735 msg = "LinearFit.set_fit_region: fit range must be floats" 736 raise ValueError , msg736 raise ValueError(msg) 737 737 self.xminFit.SetValue(format_number(xmin)) 738 738 self.xmaxFit.SetValue(format_number(xmax))
Note: See TracChangeset
for help on using the changeset viewer.