Changeset 6970e51 in sasview for src/sas/sasgui/perspectives/corfunc/corfunc_panel.py
- Timestamp:
- Jul 11, 2016 4:36:55 AM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- dc72638
- Parents:
- 54a0989
- git-author:
- Lewis O'Driscoll <lewis.o'driscoll@…> (07/07/16 12:05:12)
- git-committer:
- Lewis O'Driscoll <lewis.o'driscoll@…> (07/11/16 04:36:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/corfunc/corfunc_panel.py
r54a0989 r6970e51 134 134 135 135 def compute_extrapolation(self, event=None): 136 """ 137 Compute and plot the extrapolated data. 138 Called when Extrapolate button is pressed. 139 """ 136 140 if self._data is None: 137 141 msg = "Data must be loaded in order to perform an extrapolation." … … 160 164 161 165 def compute_transform(self, event=None): 166 """ 167 Compute and plot the transformed data. 168 Called when Transform button is pressed. 169 """ 162 170 transformed_data = self._calculator.compute_transform( 163 171 self._extrapolated_data, self.background) … … 446 454 447 455 def _disable_inputs(self): 456 """ 457 Disable all input fields 458 """ 448 459 self._qmin_input.Disable() 449 460 self._qmax1_input.Disable() … … 452 463 453 464 def _enable_inputs(self): 465 """ 466 Enable all input fields 467 """ 454 468 self._qmin_input.Enable() 455 469 self._qmax1_input.Enable()
Note: See TracChangeset
for help on using the changeset viewer.