Changeset 9a5097c in sasview for src/sas/sasgui/perspectives/calculator/data_operator.py
- Timestamp:
- Mar 26, 2017 11:33:16 PM (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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- ed2276f
- Parents:
- 9146ed9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/calculator/data_operator.py
r61780e3 r9a5097c 5 5 import sys 6 6 import time 7 import numpy 7 import numpy as np 8 8 from sas.sascalc.dataloader.data_info import Data1D 9 9 from sas.sasgui.plottools.PlotPanel import PlotPanel … … 541 541 theory, _ = theory_list.values()[0] 542 542 dnames.append(theory.name) 543 ind = n umpy.argsort(dnames)543 ind = np.argsort(dnames) 544 544 if len(ind) > 0: 545 val_list = n umpy.array(self._data.values())[ind]545 val_list = np.array(self._data.values())[ind] 546 546 for datastate in val_list: 547 547 data = datastate.data
Note: See TracChangeset
for help on using the changeset viewer.