Changeset 6c5239c in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Aug 20, 2009 1:49:20 PM (15 years ago)
Author:
Gervaise Alina <gervyh@…>
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
Message:

sld calculation description

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/sldCalculator.py

    r1d67243 r6c5239c  
    7979     
    8080     
    81     def computeLength(self): 
     81    def calculateLength(self): 
    8282        """ 
    8383            Compute the neutron 1/e length 
     
    8787         
    8888         
    89     def absorptionIm(self): 
     89    def calculateAbsorptionIm(self): 
    9090        """ 
    9191            Compute imaginary part of the absorption  
  • sansview/perspectives/fitting/sldPanel.py

    r1d67243 r6c5239c  
    310310                
    311311                coh,absorp,inc= self.calculator.calculateNSld() 
    312                 im = self.calculator.absorptionIm() 
    313                 length = self.calculator.computeLength() 
     312                im = self.calculator.calculateAbsorptionIm() 
     313                length = self.calculator.calculateLength() 
    314314                # Neutron SLD 
    315315                self.neutron_sld_reel_ctl.SetValue(format_number(coh*_SCALE)) 
Note: See TracChangeset for help on using the changeset viewer.