Changeset 3be3a80 in sasview for calculatorview/perspectives


Ignore:
Timestamp:
Dec 8, 2010 3:44:49 PM (14 years ago)
Author:
Jae Cho <jhjcho@…>
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:
e223052
Parents:
1aaa579
Message:

implemented a resolution estimating tool

Location:
calculatorview/perspectives/calculator
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/perspectives/calculator/calculator.py

    r82826c4 r3be3a80  
    125125                        self.on_calculate_slit_size), 
    126126                ("Kiessig Thickness Calculator",  
    127                         kiessig_help, self.on_calculate_kiessig),]#, 
     127                        kiessig_help, self.on_calculate_kiessig), 
     128                          ("SANS Resolution Estimator",  
     129                        kiessig_help, self.on_calculate_resoltuion)]#, 
    128130                #("Data Editor", data_editor_help, self.on_edit_data)] 
    129131               
     
    161163        frame = SlitLengthCalculatorWindow(parent=self.parent)     
    162164        frame.Show(True) 
    163     
     165         
     166    def on_calculate_resoltuion(self, event): 
     167        """ 
     168        Estimate the instrumental resolution 
     169        """ 
     170        from resolution_calculator_panel import ResolutionWindow 
     171        frame = ResolutionWindow(parent=self.parent) 
     172        frame.Show(True)  
     173   
    164174    def on_perspective(self, event): 
    165175        """ 
Note: See TracChangeset for help on using the changeset viewer.