Changeset 1bc27f1 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py
- Timestamp:
- May 11, 2017 4:53:22 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:
- d60da0c
- Parents:
- 672b8ab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py
r2add354 r1bc27f1 1 import sys2 1 import numpy 3 2 … … 5 4 from PyQt4 import QtGui 6 5 7 import sas.qtgui.Utilities.GuiUtils as GuiUtils8 6 import sas.qtgui.Utilities.ObjectLibrary as ObjectLibrary 9 7 10 from FittingWidget import FittingWidget8 from sas.qtgui.Perspectives.Fitting.FittingWidget import FittingWidget 11 9 #from FitPage import FitPage 12 10 … … 31 29 32 30 # The current optimizer 33 self.optimizer = ' DREAM'31 self.optimizer = 'Levenberg-Marquardt' 34 32 35 33 # The tabs need to be closeable … … 77 75 Add a new tab for passed data 78 76 """ 79 tab = FittingWidget(parent=self.parent, data=data, id=self.maxIndex+1)77 tab = FittingWidget(parent=self.parent, data=data, tab_id=self.maxIndex+1) 80 78 # Add this tab to the object library so it can be retrieved by scripting/jupyter 81 79 ObjectLibrary.addObject(self.tabName(), tab)
Note: See TracChangeset
for help on using the changeset viewer.