Ignore:
Timestamp:
Apr 15, 2009 7: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/CoreShellCylinderModel.py

    r25a608f5 r0824909  
    3333        List of default parameters: 
    3434         scale           = 1.0  
    35          radius          = 20.0 A 
    36          thickness       = 10.0 A 
    37          length          = 400.0 A 
    38          core_sld        = 1e-006 A-2 
    39          shell_sld       = 4e-006 A-2 
    40          solvent_sld     = 1e-006 A-2 
    41          background      = 0.0 cm-1 
    42          axis_theta      = 1.57 rad 
    43          axis_phi        = 0.0 rad 
     35         radius          = 20.0 [Å] 
     36         thickness       = 10.0 [Å] 
     37         length          = 400.0 [Å] 
     38         core_sld        = 1e-006 [1/Ų] 
     39         shell_sld       = 4e-006 [1/Ų] 
     40         solvent_sld     = 1e-006 [1/Ų] 
     41         background      = 0.0 [1/cm] 
     42         axis_theta      = 1.57 [rad] 
     43         axis_phi        = 0.0 [rad] 
    4444 
    4545    """ 
     
    5757        self.description ="""P(q,alpha)= scale/Vs*f(q)^(2) + bkg  Where:\n\ 
    5858                f(q)= 2(core_sld- solvant_sld)* Vc*sin[qLcos(alpha/2)]/\n\ 
    59                 [qLcos(alpha/2)]*J1(qRsin(alpha))/[qRsin(alpha)] +\n 2(shell_sld-solvent_sld)*Vs 
     59                [qLcos(alpha/2)]*J1(qRsin(alpha))/[qRsin(alpha)] +\n 
     60                2(shell_sld-solvent_sld)*Vs 
    6061                *sin[q(L+T)cos(alpha/2)]/[[q(L+T)cos(alpha/2)] 
    6162                *J1(q(R+T)sin(alpha))/q(R+T)sin(alpha)] 
    62                 alpha:is the angle between the axis of the cylinder and the q-vector 
     63                alpha:is the angle between the axis of the cylinder 
     64                and the q-vector 
    6365                Vs: the volume of the outer shell 
    6466                Vc: the volume of the core 
     
    7779        self.details = {} 
    7880        self.details['scale'] = ['', None, None] 
    79         self.details['radius'] = ['A', None, None] 
    80         self.details['thickness'] = ['A', None, None] 
    81         self.details['length'] = ['A', None, None] 
    82         self.details['core_sld'] = ['A-2', None, None] 
    83         self.details['shell_sld'] = ['A-2', None, None] 
    84         self.details['solvent_sld'] = ['A-2', None, None] 
    85         self.details['background'] = ['cm-1', None, None] 
    86         self.details['axis_theta'] = ['rad', None, None] 
    87         self.details['axis_phi'] = ['rad', None, None] 
     81        self.details['radius'] = ['[Å]', None, None] 
     82        self.details['thickness'] = ['[Å]', None, None] 
     83        self.details['length'] = ['[Å]', None, None] 
     84        self.details['core_sld'] = ['[1/Ų]', None, None] 
     85        self.details['shell_sld'] = ['[1/Ų]', None, None] 
     86        self.details['solvent_sld'] = ['[1/Ų]', None, None] 
     87        self.details['background'] = ['[1/cm]', None, None] 
     88        self.details['axis_theta'] = ['[rad]', None, None] 
     89        self.details['axis_phi'] = ['[rad]', None, None] 
    8890 
    8991                ## fittable parameters 
Note: See TracChangeset for help on using the changeset viewer.