Changeset 6c5239c in sasview for sansview/perspectives/fitting
- Timestamp:
- Aug 20, 2009 1:49:20 PM (15 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:
- 5ff9d7f
- Parents:
- 1d67243
- Location:
- sansview/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/sldCalculator.py
r1d67243 r6c5239c 79 79 80 80 81 def c omputeLength(self):81 def calculateLength(self): 82 82 """ 83 83 Compute the neutron 1/e length … … 87 87 88 88 89 def absorptionIm(self):89 def calculateAbsorptionIm(self): 90 90 """ 91 91 Compute imaginary part of the absorption -
sansview/perspectives/fitting/sldPanel.py
r1d67243 r6c5239c 310 310 311 311 coh,absorp,inc= self.calculator.calculateNSld() 312 im = self.calculator. absorptionIm()313 length = self.calculator.c omputeLength()312 im = self.calculator.calculateAbsorptionIm() 313 length = self.calculator.calculateLength() 314 314 # Neutron SLD 315 315 self.neutron_sld_reel_ctl.SetValue(format_number(coh*_SCALE))
Note: See TracChangeset
for help on using the changeset viewer.