Ignore:
Timestamp:
Apr 15, 2009 9:58:33 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:
b22748b
Parents:
179a411
Message:

changed notation of units

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/sans/models/c_extensions/core_shell_cylinder.h

    r25a608f5 r70faf5d  
    88 //[DISP_PARAMS] = radius, thickness, length, axis_theta, axis_phi 
    99 //[DESCRIPTION] = <text>P(q,alpha)= scale/Vs*f(q)^(2) + bkg  Where:\n\ 
    10  //                                              f(q)= 2(core_sld- solvant_sld)* Vc*sin[qLcos(alpha/2)]/\n\ 
    11  //                                             [qLcos(alpha/2)]*J1(qRsin(alpha))/[qRsin(alpha)] +\n 2(shell_sld-solvent_sld)*Vs 
    12  //                                             *sin[q(L+T)cos(alpha/2)]/[[q(L+T)cos(alpha/2)] 
    13  //                                             *J1(q(R+T)sin(alpha))/q(R+T)sin(alpha)] 
    14  //                                             alpha:is the angle between the axis of the cylinder and the q-vector 
    15  //                                             Vs: the volume of the outer shell 
    16  //                                             Vc: the volume of the core 
    17  //                                             L: the length of the core 
    18  //                                     shell_sld: the scattering length density of the shell 
    19  //                                             solvent_sld: the scattering length density of the solvent 
    20  //                                             bkg: the background 
    21  //                                             T: the thickness 
    22  //                                     R+T: is the outer radius 
    23  //                                     L+2T: The total length of the outershell 
    24  //                                             J1: the first order Bessel function 
    25  //                                     theta: axis_theta of the cylinder 
    26  //                                     phi: the axis_phi of the cylinder 
    27  //                                     </text> 
     10 //      f(q)= 2(core_sld- solvant_sld)* Vc*sin[qLcos(alpha/2)]/\n\ 
     11 //      [qLcos(alpha/2)]*J1(qRsin(alpha))/[qRsin(alpha)] +\n 
     12 //  2(shell_sld-solvent_sld)*Vs 
     13 //      *sin[q(L+T)cos(alpha/2)]/[[q(L+T)cos(alpha/2)] 
     14 //      *J1(q(R+T)sin(alpha))/q(R+T)sin(alpha)] 
     15 //                     alpha:is the angle between the axis of the cylinder 
     16 //          and the q-vector 
     17 //                     Vs: the volume of the outer shell 
     18 //                     Vc: the volume of the core 
     19 //                     L: the length of the core 
     20 //             shell_sld: the scattering length density of the shell 
     21 //                     solvent_sld: the scattering length density of the solvent 
     22 //                     bkg: the background 
     23 //                     T: the thickness 
     24 //             R+T: is the outer radius 
     25 //             L+2T: The total length of the outershell 
     26 //                     J1: the first order Bessel function 
     27 //             theta: axis_theta of the cylinder 
     28 //             phi: the axis_phi of the cylinder 
     29 //             </text> 
    2830 //[FIXED]= <text> axis_phi.width; axis_theta.width; length.width;radius.width; thickness_width</text> 
    29  //[ORIENTATION_PARAMS]= axis_phi; axis_theta;axis_phi.width; axis_theta.width  
     31 //[ORIENTATION_PARAMS]= axis_phi; axis_theta;axis_phi.width; axis_theta.width 
    3032 
    3133 
     
    3537    double scale; 
    3638 
    37     /// Core radius [A] 
    38     //  [DEFAULT]=radius=20.0 A 
     39    /// Core radius [Å] 
     40    //  [DEFAULT]=radius=20.0 [Å] 
    3941    double radius; 
    4042 
    41     /// Shell thickness [A] 
    42     //  [DEFAULT]=thickness=10.0 A 
     43    /// Shell thickness [Å] 
     44    //  [DEFAULT]=thickness=10.0 [Å] 
    4345    double thickness; 
    4446 
    45     /// Core length [A] 
    46     //  [DEFAULT]=length=400.0 A 
     47    /// Core length [Å] 
     48    //  [DEFAULT]=length=400.0 [Å] 
    4749    double length; 
    4850 
    49     /// Core SLD [A-2] 
    50     //  [DEFAULT]=core_sld=1.0e-6 A-2 
     51    /// Core SLD [1/Ų] 
     52    //  [DEFAULT]=core_sld=1.0e-6 [1/Ų] 
    5153    double core_sld; 
    5254 
    53     /// Shell SLD [A-2] 
    54     //  [DEFAULT]=shell_sld=4.0e-6 A-2 
     55    /// Shell SLD [1/Ų] 
     56    //  [DEFAULT]=shell_sld=4.0e-6 [1/Ų] 
    5557    double shell_sld; 
    5658 
    57     /// Solvent SLD [A-2] 
    58     //  [DEFAULT]=solvent_sld=1.0e-6 A-2 
     59    /// Solvent SLD [1/Ų] 
     60    //  [DEFAULT]=solvent_sld=1.0e-6 [1/Ų] 
    5961    double solvent_sld; 
    6062 
    61         /// Incoherent Background [cm-1] 
    62         //  [DEFAULT]=background=0 cm-1 
     63        /// Incoherent Background [1/cm] 
     64        //  [DEFAULT]=background=0 [1/cm] 
    6365        double background; 
    6466 
    6567    /// Orientation of the long axis of the core-shell cylinder w/respect incoming beam [rad] 
    66     //  [DEFAULT]=axis_theta=1.57 rad 
     68    //  [DEFAULT]=axis_theta=1.57 [rad] 
    6769    double axis_theta; 
    6870 
    6971    /// Orientation of the long axis of the core-shell cylinder in the plane of the detector [rad] 
    70     //  [DEFAULT]=axis_phi=0.0 rad 
     72    //  [DEFAULT]=axis_phi=0.0 [rad] 
    7173    double axis_phi; 
    7274 
Note: See TracChangeset for help on using the changeset viewer.