- Timestamp:
- Mar 5, 2018 3:39:00 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:
- 3b3b40b, fca1f50
- Parents:
- 91ad45c
- Location:
- src/sas
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py
r91ad45c re4c475b7 177 177 no_params_msg = "Fitting can not be performed.\n" +\ 178 178 "Not all tabs chosen for fitting have parameters selected for fitting." 179 QtWidgets.QMessageBox. question(self,179 QtWidgets.QMessageBox.warning(self, 180 180 'Warning', 181 181 no_params_msg, -
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r91ad45c re4c475b7 1174 1174 msg = "Fitting did not converge!" 1175 1175 self.communicate.statusBarUpdateSignal.emit(msg) 1176 msg += res.mesg 1176 1177 logging.error(msg) 1177 1178 return -
src/sas/qtgui/Perspectives/Fitting/UI/FittingWidgetUI.ui
r7fd20fc re4c475b7 7 7 <x>0</x> 8 8 <y>0</y> 9 <width> 448</width>10 <height> 526</height>9 <width>568</width> 10 <height>605</height> 11 11 </rect> 12 12 </property> … … 452 452 <property name="minimumSize"> 453 453 <size> 454 <width> 75</width>455 <height>2 3</height>454 <width>93</width> 455 <height>28</height> 456 456 </size> 457 457 </property> … … 471 471 <property name="minimumSize"> 472 472 <size> 473 <width> 75</width>474 <height>2 3</height>473 <width>93</width> 474 <height>28</height> 475 475 </size> 476 476 </property> … … 490 490 <property name="minimumSize"> 491 491 <size> 492 <width> 75</width>493 <height>2 3</height>492 <width>93</width> 493 <height>28</height> 494 494 </size> 495 495 </property> -
src/sas/qtgui/Plotting/LinearFit.py
rd6b8a1d re4c475b7 13 13 from sas.qtgui.Plotting import DataTransform 14 14 from sas.qtgui.Plotting.LineModel import LineModel 15 import sas.qtgui.Utilities.GuiUtils as GuiUtils 15 16 16 17 # Local UI … … 56 57 self.txtRangeMin.setText(str(max_range[0])) 57 58 self.txtRangeMax.setText(str(max_range[1])) 58 self.txtFitRangeMin.setText(str(fit_range[0])) 59 self.txtFitRangeMax.setText(str(fit_range[1])) 59 # Assure nice display of ranges 60 fr_min = GuiUtils.formatNumber(fit_range[0]) 61 fr_max = GuiUtils.formatNumber(fit_range[1]) 62 self.txtFitRangeMin.setText(str(fr_min)) 63 self.txtFitRangeMax.setText(str(fr_max)) 60 64 61 65 # cast xLabel into html … … 113 117 # Set the qmin and qmax in the panel that matches the 114 118 # transformed min and max 115 #value_xmin = X_VAL_DICT[self.xLabel].floatTransform(xmin)116 #value_xmax = X_VAL_DICT[self.xLabel].floatTransform(xmax)117 118 119 value_xmin = self.floatInvTransform(xmin) 119 120 value_xmax = self.floatInvTransform(xmax) -
src/sas/sascalc/fit/expression.py
rb3e8629 re4c475b7 210 210 211 211 #print("Function: "+functiondef) 212 exec (functiondef in globals,locals) 212 # Python 2.7 213 #exec (functiondef in globals,locals) 214 # Python 3.5 215 exec (functiondef, globals, locals) 216 213 217 retfn = locals['eval_expressions'] 214 218
Note: See TracChangeset
for help on using the changeset viewer.