- Timestamp:
- Oct 31, 2017 3:13:10 PM (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:
- 18d5af02
- Parents:
- 4cac8a47
- Location:
- src/sas/qtgui/Perspectives/Inversion
- Files:
-
- 1 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py
r570a2f73 r7f5196e 350 350 Open the Explorer window to see correlations between params and results 351 351 """ 352 # TODO: Look at PR from AW - Is there anything else I need to do? 353 pass 352 # TODO: Link Invertor() and DmaxWindow so window updates when recalculated 353 from dmax import DmaxWindow 354 self.dmaxWindow = DmaxWindow(self._calculator, self.getNFunc(), self) 355 self.dmaxWindow.show() 354 356 355 357 ###################################################################### … … 391 393 self.enableButtons() 392 394 395 def getNFunc(self): 396 """Get the n_func value from the GUI object""" 397 return int(UI.TabbedInversionUI._fromUtf8(self.noOfTermsInput.text())) 398 393 399 def setCurrentData(self, data_ref): 394 400 """Get the current data and display as necessary""" … … 429 435 self.calc_thread.stop() 430 436 pr = self._calculator.clone() 431 nfunc = int(UI.TabbedInversionUI._fromUtf8( 432 self.noOfTermsInput.text())) 437 nfunc = self.getNFunc() 433 438 self.calc_thread = CalcPr(pr, nfunc, 434 439 error_func=self._threadError, … … 452 457 pr.slit_height = 0.0 453 458 pr.slit_width = 0.0 454 nfunc = int(UI.TabbedInversionUI._fromUtf8( 455 self.noOfTermsInput.text())) 459 nfunc = self.getNFunc() 456 460 self.estimation_thread = EstimateNT(pr, nfunc, 457 461 error_func=self._threadError, … … 474 478 self.estimation_thread.stop() 475 479 pr = self._calculator.clone() 476 nfunc = int(UI.TabbedInversionUI._fromUtf8( 477 self.noOfTermsInput.text())) 480 nfunc = self.getNFunc() 478 481 self.estimation_thread = EstimatePr(pr, nfunc, 479 482 error_func=self._threadError,
Note: See TracChangeset
for help on using the changeset viewer.