Changeset ad6f597 in sasview for calculatorview/perspectives/calculator/detector_editor.py
- Timestamp:
- May 4, 2010 12:51:49 PM (14 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:
- 85e665e
- Parents:
- 90b23e1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/perspectives/calculator/detector_editor.py
r91f151a rad6f597 3 3 import sys 4 4 from copy import deepcopy 5 from DataLoader.loader import Loader6 5 from DataLoader.data_info import Detector 7 6 from sans.guiframe.utils import check_float … … 15 14 else: 16 15 _STATICBOX_WIDTH = 480 17 PANEL_WIDTH = 5 3018 PANEL_HEIGHT = 4 5016 PANEL_WIDTH = 550 17 PANEL_HEIGHT = 480 19 18 FONT_VARIANT = 1 20 19 … … 805 804 if __name__ == "__main__": 806 805 app = wx.App() 807 # Instantiate a loader 808 loader = Loader() 809 # Load data 810 output = loader.load("MAR07232_rest.ASC") 811 dlg = DetectorDialog(detector=output.detector) 806 detector = Detector() 807 dlg = DetectorDialog(detector=[detector]) 812 808 dlg.ShowModal() 813 809 app.MainLoop()
Note: See TracChangeset
for help on using the changeset viewer.