- Timestamp:
- Jul 9, 2008 10:17:14 AM (16 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:
- e6e76ef
- Parents:
- 573eb2d6
- Location:
- guiframe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/data_loader.py
rfc2b91a r4102709 57 57 from sans.guicomm.events import NewPlotEvent 58 58 from sans.guitools.plottables import Data1D, Theory1D 59 x, y, dy = load_ascii_1D(path) 59 from DataLoader.loader import Loader 60 #Instantiate a loader 61 L=Loader() 62 63 #Recieves data 64 x,y,dy=L.load(path) 65 66 import numpy 60 67 61 68 if dy==None: -
guiframe/gui_manager.py
rd0802c3 r4102709 589 589 590 590 def _on_open(self, event): 591 591 592 from data_loader import plot_data 592 593 path = self.choose_file() … … 594 595 if path and os.path.isfile(path): 595 596 plot_data(self, path) 596 597 597 598 598 599
Note: See TracChangeset
for help on using the changeset viewer.