Changes in / [61a8b58:7d97e2d] in sasview


Ignore:
Location:
src/sas
Files:
3 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/GUITests.py

    r01cda57 r464cd07  
    3737from Calculators.UnitTesting import SLDCalculatorTest 
    3838from Calculators.UnitTesting import SlitSizeCalculatorTest 
    39 from Calculators.UnitTesting import ResolutionCalculatorPanelTest 
    4039 
    4140# Utilities 
     
    9392        unittest.makeSuite(SLDCalculatorTest.SLDCalculatorTest, 'test'), 
    9493        unittest.makeSuite(SlitSizeCalculatorTest.SlitSizeCalculatorTest, 'test'), 
    95         unittest.makeSuite(ResolutionCalculatorPanelTest.ResolutionCalculatorPanelTest, 'test'), 
    9694 
    9795        # Perspectives 
     
    102100        unittest.makeSuite(FitPageTest.FitPageTest,                       'test'), 
    103101        unittest.makeSuite(FittingOptionsTest.FittingOptionsTest,         'test'), 
    104      ) 
     102    ) 
    105103    return unittest.TestSuite(suites) 
    106104 
  • src/sas/qtgui/MainWindow/GuiManager.py

    r01cda57 r3c8242c  
    3030from sas.qtgui.Calculators.SlitSizeCalculator import SlitSizeCalculator 
    3131from sas.qtgui.Calculators.GenericScatteringCalculator import GenericScatteringCalculator 
    32 from sas.qtgui.Calculators.ResolutionCalculatorPanel import ResolutionCalculatorPanel 
    33  
    3432 
    3533# Perspectives 
     
    138136        self.SLDCalculator = SldPanel(self) 
    139137        self.DVCalculator = DensityPanel(self) 
     138        #self.KIESSIGCalculator = DensityPanel(self)#KiessigPanel(self) 
    140139        self.KIESSIGCalculator = KiessigPanel(self) 
    141140        self.SlitSizeCalculator = SlitSizeCalculator(self) 
    142141        self.GENSASCalculator = GenericScatteringCalculator(self) 
    143         self.ResolutionCalculator = ResolutionCalculatorPanel(self) 
    144142 
    145143    def statusBarSetup(self): 
     
    558556        """ 
    559557        """ 
    560         self.ResolutionCalculator.show() 
     558        print("actionSAS_Resolution_Estimator TRIGGERED") 
     559        pass 
    561560 
    562561    def actionGeneric_Scattering_Calculator(self): 
  • src/sas/qtgui/Plotting/Plotter2D.py

    r01cda57 rdc5ef15  
    429429 
    430430            im = self.ax.imshow(output, interpolation='nearest', 
    431                                 # origin='lower', 
     431                                origin='lower', 
    432432                                vmin=zmin_temp, vmax=zmax_temp, 
    433433                                cmap=self.cmap, 
     
    494494        """ 
    495495        Replace data in current chart. 
    496         This effectively refreshes the chart with changes to one of its plots 
     496        This effectlvely refreshes the chart with changes to one of its plots 
    497497        """ 
    498498        self.plot(data=new_plot) 
  • src/sas/sascalc/calculator/resolution_calculator.py

    r01cda57 r7432acb  
    9393        : qy_value: y component of q 
    9494        """ 
    95  
    9695        # make sure to update all the variables need. 
    9796        # except lambda, dlambda, and intensity 
     
    153152                                 sig2_list[ind], sigr_list[ind], 
    154153                                 qx_min, qx_max, qy_min, qy_max, coord) 
     154            # this is the case of q being outside the detector 
     155            #if numpy.all(out==0.0): 
     156            #    continue 
    155157            image = out 
    156158            # set variance as sigmas 
     
    184186            sigma_2 = 0 
    185187            sigma1d = 0 
    186  
    187188        if len(self.image) > 0: 
    188189            self.image += image_out 
     
    191192 
    192193        # plot image 
    193         return self.image  # self.plot_image(self.image) 
     194        return self.plot_image(self.image) 
    194195 
    195196    def setup_tof(self, wavelength, wavelength_spread): 
     
    213214                coord='cartesian', tof=False): 
    214215        """ 
    215         Compute the Q resolution in || and + direction of 2D 
     216        Compute the Q resoltuion in || and + direction of 2D 
    216217        : qx_value: x component of q 
    217218        : qy_value: y component of q 
  • src/sas/sasgui/perspectives/calculator/resolution_calculator_panel.py

    r01cda57 r7432acb  
    934934    def _sigma_strings(self): 
    935935        """ 
    936         Recode sigmas as strings 
     936        Recode sigmas as strins 
    937937        """ 
    938938        sigma_r = self.format_number(self.resolution.sigma_1) 
     
    12081208        source_hint += "Mass of %s: m = %s [g]" % \ 
    12091209                            (selection, str(self.resolution.get_neutron_mass())) 
    1210         # source_tip.SetTip(source_hint) 
     1210        #source_tip.SetTip(source_hint) 
    12111211        self.mass_txt.ToolTip.SetTip(source_hint) 
    12121212 
Note: See TracChangeset for help on using the changeset viewer.