Ignore:
Timestamp:
Apr 15, 2009 9:59:36 AM (15 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:
27c5c26
Parents:
b22748b
Message:

changed notation of units

File:
1 edited

Legend:

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

    r988130c6 r0824909  
    3838        self.name = "BEPolyelectrolyte" 
    3939        self.description=""" 
    40         F(x) = K*1/(4*pi*Lb*(alpha)^(2))*(q^(2)+k2)/(1+(r02)^(2))*(q^(2)+k2)\ 
    41                        *(q^(2)-(12*h*C/b^(2))) 
     40        F(x) = K*1/(4*pi*Lb*(alpha)^(2))*(q^(2)+k^(2))/(1+(r02)^(2)) 
     41            *(q^(2)+k^(2))*(q^(2)-(12*h*C/b^(2)))+bkd 
    4242        The model has Eight parameters:  
    4343        K        =  Constrast factor of the polymer 
     
    6464        ## Parameter details [units, min, max] 
    6565        self.details = {} 
    66         self.details['k']    = ['barns', None, None] 
    67         self.details['lb'] = ['A', None, None] 
    68         self.details['h']   = ['A-3', None, None] 
    69         self.details['b']    = ['A', None, None] 
    70         self.details['cs'] = ['mol/L', None, None] 
     66        self.details['k']    = ['[barns]', None, None] 
     67        self.details['lb'] = ['[Å]', None, None] 
     68        self.details['h']   = ['[1/ų]', None, None] 
     69        self.details['b']    = ['[Å]', None, None] 
     70        self.details['cs'] = ['[mol/L]', None, None] 
    7171        self.details['alpha']   = ['', None, None] 
    72         self.details['c']    = ['mol/L', None, None] 
    73         self.details['background'] = ['cm-1', None, None] 
     72        self.details['c']    = ['[mol/L]', None, None] 
     73        self.details['background'] = ['[1/cm]', None, None] 
    7474        #list of parameter that cannot be fitted 
    7575        self.fixed= [] 
     
    7878        """ 
    7979            Evaluate   
    80             F(x) = K*1/(4*pi*Lb*(alpha)^(2))*(q^(2)+k2)/(1+(r02)^(2))*(q^(2)+k2)\ 
    81                        *(q^(2)-(12*h*C/b^(2))) 
     80            F(x) = K*1/(4*pi*Lb*(alpha)^(2))*(q^(2)+k2)/(1+(r02)^(2)) 
     81                *(q^(2)+k2)*(q^(2)-(12*h*C/b^(2))) 
    8282         
    8383            has 3 internal parameters : 
Note: See TracChangeset for help on using the changeset viewer.