Ignore:
Timestamp:
Aug 4, 2009 4:02:28 PM (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:
8dc0b746
Parents:
b341b16
Message:

added 2D and model descpt.

File:
1 edited

Legend:

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

    r27a0771 r96b59384  
    33/** Structure definition for oblate parameters 
    44 * [PYTHONCLASS] = OblateModel 
    5  * [DISP_PARAMS] = major_core, minor_core, major_shell,minor_shell, axis_theta, axis_phi 
    6    [DESCRIPTION] = <text> Calculates the form factor for an oblate ellipsoid particle with a core/shell structure. 
    7                         Note:It is the users' responsibility to ensure that shell radii are larger than core radii, and 
    8                                         that major radii are larger than minor radii.</text> 
     5 * [DISP_PARAMS] = major_core, minor_core, major_shell,minor_shell 
     6   [DESCRIPTION] = <text>[OblateCoreShellModel] Calculates the form factor for an oblate 
     7                        ellipsoid particle with a core_shell structure. 
     8                        The form factor is averaged over all possible 
     9                        orientations of the ellipsoid such that P(q) 
     10                        = scale*<f^2>/Vol + bkg, where f is the 
     11                        single particle scattering amplitude. 
     12                        [Parameters]: 
     13                        major_core = radius of major_core, 
     14                        minor_core = radius of minor_core, 
     15                        major_shell = radius of major_shell, 
     16                        minor_shell = radius of minor_shell, 
     17                        contrast = SLD_core - SLD_shell 
     18                        sld_solvent = SLD_solvent 
     19                        background = Incoherent bkg 
     20                        scale =scale 
     21                        Note:It is the users' responsibility to ensure 
     22                        that shell radii are larger than core radii. 
     23                        </text> 
    924 
    10    [FIXED] = <text>axis_phi.width; axis_theta.width; major_core.width;minor_core.width; major_shell; minor_shell</text> 
    11    [ORIENTATION_PARAMS] = <text>axis_phi; axis_theta; axis_phi.width; axis_theta.width</text> 
     25   [FIXED] = <text>major_core.width;minor_core.width; major_shell.width; minor_shell.width</text> 
     26   [ORIENTATION_PARAMS] = 
    1227 
    1328 **/ 
     
    3752        //  [DEFAULT]=background=0.001 [1/cm] 
    3853        double background; 
     54        /*//Disable for now 
    3955    /// Orientation of the oblate axis w/respect incoming beam [rad] 
    4056    //  [DEFAULT]=axis_theta=1.0 [rad] 
     
    4359    //  [DEFAULT]=axis_phi=1.0 [rad] 
    4460    double axis_phi; 
    45  
     61        */ 
    4662} OblateParameters; 
    4763 
     
    5470double oblate_analytical_2D(OblateParameters *pars, double q, double phi); 
    5571double oblate_analytical_2DXY(OblateParameters *pars, double qx, double qy); 
    56 double oblate_analytical_2D_scaled(OblateParameters *pars, double q, double q_x, double q_y); 
     72//double oblate_analytical_2D_scaled(OblateParameters *pars, double q, double q_x, double q_y); 
    5773 
    5874#endif 
Note: See TracChangeset for help on using the changeset viewer.