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/ellipsoid.h

    r25a608f5 r70faf5d  
    99 //[PYTHONCLASS] = EllipsoidModel 
    1010 //[DISP_PARAMS] = radius_a, radius_b, axis_theta, axis_phi 
    11  //[DESCRIPTION] = <text>"P(q.alpha)= scale*f(q)^(2)+ bkg\n\ 
    12  //                                     f(q)= 3*(scatter_sld- scatter_solvent)*V*[sin(q*r(Ra,Rb,alpha)) - q*r*cos(qr(Ra,Rb,alpha))] 
    13  //                                                     /[qr(Ra,Rb,alpha)]^(3)" 
    14  //                                             r(Ra,Rb,alpha)= [Rb^(2)*(sin(alpha))^(2) + Ra^(2)*(cos(alpha))^(2)]^(1/2) 
    15  //                                             scatter_sld: scattering length density of the scatter 
    16  //                                             solvent_sld: scattering length density of the solvent 
    17  //                                             V: volune of the Eliipsoid 
    18  //                                             Ra: radius along the rotation axis of the Ellipsoid 
    19  //                                             Rb: radius perpendicular to the rotation axis of the ellipsoid 
    20  //                                             </text> 
     11 //[DESCRIPTION] = <text>"P(q.alpha)= scale*f(q)^(2)+ bkg 
     12 //             f(q)= 3*(scatter_sld- scatter_solvent)*V 
     13 //                     *[sin(q*r(Ra,Rb,alpha))- q*r*cos(qr(Ra,Rb,alpha))] 
     14 //             /[qr(Ra,Rb,alpha)]^(3)" 
     15 //     r(Ra,Rb,alpha)= [Rb^(2)*(sin(alpha))^(2) 
     16 //     + Ra^(2)*(cos(alpha))^(2)]^(1/2) 
     17 //             scatter_sld: scattering length density of the scatter 
     18 //             solvent_sld: scattering length density of the solvent 
     19 //             V: volune of the Eliipsoid 
     20 //             Ra: radius along the rotation axis of the Ellipsoid 
     21 //             Rb: radius perpendicular to the rotation axis of the ellipsoid 
     22 //             </text> 
    2123 //[FIXED]= <text> axis_phi.width; axis_theta.width;radius_a.width; 
    2224 //radius_b.width; length.width; r_minor.width 
     
    3032    double scale; 
    3133 
    32     /// Rotation axis radius_a [A] 
    33     //  [DEFAULT]=radius_a=20.0 A 
     34    /// Rotation axis radius_a [Å] 
     35    //  [DEFAULT]=radius_a=20.0 [Å] 
    3436    double radius_a; 
    3537 
    36     /// Radius_b [A] 
    37     //  [DEFAULT]=radius_b=400 A 
     38    /// Radius_b [Å] 
     39    //  [DEFAULT]=radius_b=400 [Å] 
    3840    double radius_b; 
    3941 
    40     /// Contrast [Å-2] 
    41     //  [DEFAULT]=contrast=3.0e-6 A-2 
     42    /// Contrast [1/Ų] 
     43    //  [DEFAULT]=contrast=3.0e-6 [1/Ų] 
    4244    double contrast; 
    4345 
    44         /// Incoherent Background [cm-1] 
    45         //  [DEFAULT]=background=0 cm-1 
     46        /// Incoherent Background [1/cm] 
     47        //  [DEFAULT]=background=0 [1/cm] 
    4648        double background; 
    4749 
    4850    /// Orientation of the long axis of the ellipsoid w/respect incoming beam [rad] 
    49     //  [DEFAULT]=axis_theta=1.57 rad 
     51    //  [DEFAULT]=axis_theta=1.57 [rad] 
    5052    double axis_theta; 
    5153    /// Orientation of the long axis of the ellipsoid in the plane of the detector [rad] 
    52     //  [DEFAULT]=axis_phi=0.0 rad 
     54    //  [DEFAULT]=axis_phi=0.0 [rad] 
    5355    double axis_phi; 
    5456} EllipsoidParameters; 
Note: See TracChangeset for help on using the changeset viewer.