Ignore:
Timestamp:
Mar 30, 2010 5:56:04 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:
8d97277
Parents:
6e93a02
Message:

Updated the definition of SLD params according to new libigor functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/sans/models/SphereModel.py

    rf9a1279 rf10063e  
    3434         scale           = 1.0  
    3535         radius          = 60.0 [A] 
    36          contrast        = 1e-006 [1/A^(2)] 
     36         sldSph          = 2e-006 [1/A^(2)] 
     37         sldSolv         = 1e-006 [1/A^(2)] 
    3738         background      = 0.0 [1/cm] 
    3839 
     
    4950        self.name = "SphereModel" 
    5051        ## Model description 
    51         self.description ="""P(q)=(scale/V)*[3V(scatter_sld-solvent_sld)*(sin(qR)-qRcos(qR)) 
     52        self.description ="""P(q)=(scale/V)*[3V(sldSph-sldSolv)*(sin(qR)-qRcos(qR)) 
    5253                /(qR)^3]^(2)+bkg 
    5354                 
    5455                bkg:background, R: radius of sphere 
    5556                V:The volume of the scatter 
    56                 contrast:SLD difference between 
    57                 scatter and solvent 
    58                 scatter_sld: the SLD of the scatter 
    59                 solvent_sld: the SLD of the solvent 
     57                sldSph: the SLD of the sphere 
     58                sldSolv: the SLD of the solvent 
    6059                """ 
    6160        
     
    6463        self.details['scale'] = ['', None, None] 
    6564        self.details['radius'] = ['[A]', None, None] 
    66         self.details['contrast'] = ['[1/A^(2)]', None, None] 
     65        self.details['sldSph'] = ['[1/A^(2)]', None, None] 
     66        self.details['sldSolv'] = ['[1/A^(2)]', None, None] 
    6767        self.details['background'] = ['[1/cm]', None, None] 
    6868 
Note: See TracChangeset for help on using the changeset viewer.