Changeset c10d9d6c in sasview
- Timestamp:
- Mar 17, 2016 12:54:22 PM (9 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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- fc18690, b080ba8
- Parents:
- aac161f1
- Location:
- src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/test_chisq_panel.py
rd7bb526 rc10d9d6c 86 86 dy = numpy.sqrt(100*numpy.abs(y))/100 87 87 88 from sas. plottools.plottables import Data1D, Theory1D, Chisq , Graph88 from sas.sasgui.plottools.plottables import Data1D, Theory1D, Chisq , Graph 89 89 data = Data1D(x,y,dy=dy) 90 90 data.xaxis('distance', 'm') -
src/sas/sasgui/perspectives/fitting/pagestate.py
rd85c194 rc10d9d6c 1613 1613 1614 1614 if state.data is None: 1615 data = sas. dataloader.data_info.Data1D(x=[], y=[])1615 data = sas.sascalc.dataloader.data_info.Data1D(x=[], y=[]) 1616 1616 return None 1617 1617 elif not state.data.is_data: … … 1626 1626 1627 1627 if issubclass(state.data.__class__, 1628 sas. dataloader.data_info.Data1D):1628 sas.sascalc.dataloader.data_info.Data1D): 1629 1629 data = state.data 1630 1630 doc, sasentry = self._to_xml_doc(data) -
src/sas/sasgui/perspectives/invariant/invariant.py
rd85c194 rc10d9d6c 237 237 else: 238 238 msg = "invariant.save_file: the data being saved is" 239 msg += " not a sas. dataloader.data_info.Data1D object"239 msg += " not a sas.sascalc.dataloader.data_info.Data1D object" 240 240 raise RuntimeError, msg 241 241 -
src/sas/sasgui/perspectives/invariant/invariant_state.py
rd85c194 rc10d9d6c 773 773 """ 774 774 if datainfo is None: 775 datainfo = sas. dataloader.data_info.Data1D(x=[], y=[])776 elif not issubclass(datainfo.__class__, sas. dataloader.data_info.Data1D):775 datainfo = sas.sascalc.dataloader.data_info.Data1D(x=[], y=[]) 776 elif not issubclass(datainfo.__class__, sas.sascalc.dataloader.data_info.Data1D): 777 777 msg = "The cansas writer expects a Data1D" 778 778 msg += " instance: %s" % str(datainfo.__class__.__name__) -
src/sas/sasgui/perspectives/pr/pr.py
rd85c194 rc10d9d6c 896 896 # First, check that the data is of the right type 897 897 if issubclass(self.current_plottable.__class__, 898 sas. dataloader.data_info.Data1D):898 sas.sascalc.dataloader.data_info.Data1D): 899 899 self.state_reader.write(filepath, self.current_plottable, prstate) 900 900 else:
Note: See TracChangeset
for help on using the changeset viewer.