Changes in / [61a8b58:7d97e2d] in sasview
- Location:
- src/sas
- Files:
-
- 3 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/GUITests.py
r01cda57 r464cd07 37 37 from Calculators.UnitTesting import SLDCalculatorTest 38 38 from Calculators.UnitTesting import SlitSizeCalculatorTest 39 from Calculators.UnitTesting import ResolutionCalculatorPanelTest40 39 41 40 # Utilities … … 93 92 unittest.makeSuite(SLDCalculatorTest.SLDCalculatorTest, 'test'), 94 93 unittest.makeSuite(SlitSizeCalculatorTest.SlitSizeCalculatorTest, 'test'), 95 unittest.makeSuite(ResolutionCalculatorPanelTest.ResolutionCalculatorPanelTest, 'test'),96 94 97 95 # Perspectives … … 102 100 unittest.makeSuite(FitPageTest.FitPageTest, 'test'), 103 101 unittest.makeSuite(FittingOptionsTest.FittingOptionsTest, 'test'), 104 102 ) 105 103 return unittest.TestSuite(suites) 106 104 -
src/sas/qtgui/MainWindow/GuiManager.py
r01cda57 r3c8242c 30 30 from sas.qtgui.Calculators.SlitSizeCalculator import SlitSizeCalculator 31 31 from sas.qtgui.Calculators.GenericScatteringCalculator import GenericScatteringCalculator 32 from sas.qtgui.Calculators.ResolutionCalculatorPanel import ResolutionCalculatorPanel33 34 32 35 33 # Perspectives … … 138 136 self.SLDCalculator = SldPanel(self) 139 137 self.DVCalculator = DensityPanel(self) 138 #self.KIESSIGCalculator = DensityPanel(self)#KiessigPanel(self) 140 139 self.KIESSIGCalculator = KiessigPanel(self) 141 140 self.SlitSizeCalculator = SlitSizeCalculator(self) 142 141 self.GENSASCalculator = GenericScatteringCalculator(self) 143 self.ResolutionCalculator = ResolutionCalculatorPanel(self)144 142 145 143 def statusBarSetup(self): … … 558 556 """ 559 557 """ 560 self.ResolutionCalculator.show() 558 print("actionSAS_Resolution_Estimator TRIGGERED") 559 pass 561 560 562 561 def actionGeneric_Scattering_Calculator(self): -
src/sas/qtgui/Plotting/Plotter2D.py
r01cda57 rdc5ef15 429 429 430 430 im = self.ax.imshow(output, interpolation='nearest', 431 #origin='lower',431 origin='lower', 432 432 vmin=zmin_temp, vmax=zmax_temp, 433 433 cmap=self.cmap, … … 494 494 """ 495 495 Replace data in current chart. 496 This effect ively refreshes the chart with changes to one of its plots496 This effectlvely refreshes the chart with changes to one of its plots 497 497 """ 498 498 self.plot(data=new_plot) -
src/sas/sascalc/calculator/resolution_calculator.py
r01cda57 r7432acb 93 93 : qy_value: y component of q 94 94 """ 95 96 95 # make sure to update all the variables need. 97 96 # except lambda, dlambda, and intensity … … 153 152 sig2_list[ind], sigr_list[ind], 154 153 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 155 157 image = out 156 158 # set variance as sigmas … … 184 186 sigma_2 = 0 185 187 sigma1d = 0 186 187 188 if len(self.image) > 0: 188 189 self.image += image_out … … 191 192 192 193 # plot image 193 return self. image # self.plot_image(self.image)194 return self.plot_image(self.image) 194 195 195 196 def setup_tof(self, wavelength, wavelength_spread): … … 213 214 coord='cartesian', tof=False): 214 215 """ 215 Compute the Q resol ution in || and + direction of 2D216 Compute the Q resoltuion in || and + direction of 2D 216 217 : qx_value: x component of q 217 218 : qy_value: y component of q -
src/sas/sasgui/perspectives/calculator/resolution_calculator_panel.py
r01cda57 r7432acb 934 934 def _sigma_strings(self): 935 935 """ 936 Recode sigmas as strin gs936 Recode sigmas as strins 937 937 """ 938 938 sigma_r = self.format_number(self.resolution.sigma_1) … … 1208 1208 source_hint += "Mass of %s: m = %s [g]" % \ 1209 1209 (selection, str(self.resolution.get_neutron_mass())) 1210 # 1210 #source_tip.SetTip(source_hint) 1211 1211 self.mass_txt.ToolTip.SetTip(source_hint) 1212 1212
Note: See TracChangeset
for help on using the changeset viewer.