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

    r25a608f5 r70faf5d  
    55 * [DISP_PARAMS] = radius, length, cyl_theta, cyl_phi 
    66   [DESCRIPTION] = <text>P(q,alpha)= scale/V*f(q)^(2)+bkg 
    7                                                 f(q)= 2*(scatter_sld - solvent_sld)*V*sin(qLcos(alpha/2))/[qLcos(alpha/2)]* 
    8                                                 J1(qRsin(alpha/2))/[qRsin(alpha)] 
    9                                                 V: Volume of the cylinder 
    10                                                 R: Radius of the cylinder 
    11                                                 L: Length of the cylinder 
    12                                                 J1: The bessel function 
    13                                                 alpha: angle betweenthe axis of the cylinder and the q-vector 
    14                                                 for 1D:the ouput is P(q)=scale/V*integral from pi/2 to zero of f(q)^(2)* 
    15                                                 sin(alpha)*dalpha+ bkg 
     7                                f(q)= 2*(scatter_sld - solvent_sld)*V 
     8                                *sin(qLcos(alpha/2))/[qLcos(alpha/2)] 
     9                                *J1(qRsin(alpha/2))/[qRsin(alpha)] 
     10                                V: Volume of the cylinder 
     11                                R: Radius of the cylinder 
     12                                L: Length of the cylinder 
     13                                J1: The bessel function 
     14                                alpha: angle betweenthe axis of the cylinder 
     15                                and the q-vector for 1D:the ouput is 
     16                                P(q)=scale/V*integral from pi/2 to zero of 
     17                                f(q)^(2)*sin(alpha)*dalpha+ bkg 
    1618                                        </text> 
    1719        [FIXED]= <text>cyl_phi.width; cyl_theta.width; length.width;radius.width</text> 
    1820        [ORIENTATION_PARAMS]= <text>cyl_phi; cyl_theta; cyl_phi.width; cyl_theta.width</text> 
    19          
     21 
    2022 
    2123 **/ 
     
    2426    //  [DEFAULT]=scale=1.0 
    2527    double scale; 
    26     /// Radius of the cylinder [A] 
    27     //  [DEFAULT]=radius=20.0 A 
     28    /// Radius of the cylinder [Å] 
     29    //  [DEFAULT]=radius=20.0 [Å] 
    2830    double radius; 
    29     /// Length of the cylinder [A] 
    30     //  [DEFAULT]=length=400.0 A 
     31    /// Length of the cylinder [Å] 
     32    //  [DEFAULT]=length=400.0 [Å] 
    3133    double length; 
    32     /// Contrast [A-2] 
    33     //  [DEFAULT]=contrast=3.0e-6 A-2 
     34    /// Contrast [1/Ų] 
     35    //  [DEFAULT]=contrast=3.0e-6 [1/Ų] 
    3436    double contrast; 
    35         /// Incoherent Background (cm-1) 0.000 
    36         //  [DEFAULT]=background=0 cm-1 
     37        /// Incoherent Background [1/cm] 0.00 
     38        //  [DEFAULT]=background=0.0 [1/cm] 
    3739        double background; 
    3840    /// Orientation of the cylinder axis w/respect incoming beam [rad] 
    39     //  [DEFAULT]=cyl_theta=1.0 rad 
     41    //  [DEFAULT]=cyl_theta=1.0 [rad] 
    4042    double cyl_theta; 
    4143    /// Orientation of the cylinder in the plane of the detector [rad] 
    42     //  [DEFAULT]=cyl_phi=1.0 rad 
     44    //  [DEFAULT]=cyl_phi=1.0 [rad] 
    4345    double cyl_phi; 
    44          
     46 
    4547} CylinderParameters; 
    4648 
Note: See TracChangeset for help on using the changeset viewer.