Ignore:
Timestamp:
Aug 3, 2009 5:41:22 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:
e6fa43e
Parents:
2a1be2d9
Message:

done corrections and 2d extension on this model function

File:
1 edited

Legend:

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

    r5068697 rea07075  
    77/** Structure definition for Flexible cylinder parameters 
    88 * [PYTHONCLASS] = FlexibleCylinderModel 
    9  * [DISP_PARAMS] = length, radius, axis_theta, axis_phi 
    10    [DESCRIPTION] = <text> Note : scale and contrast are both multiplicative factors in the model and are perfectly 
    11                         correlated. One or both of these parameters must be held fixed during model fitting. 
     9 * [DISP_PARAMS] = length, kuhn_length, radius 
     10   [DESCRIPTION] = <text> Note : 'scale' and 'contrast' are both multiplicative factors in the 
     11                model and are perfectly correlated. One or 
     12                both of these parameters must be held fixed 
     13                during model fitting. 
    1214                </text> 
    13         [FIXED]= <text>length.width; radius.width; axis_theta.width; axis_phi.width</text> 
    14         [ORIENTATION_PARAMS]= <text>axis_phi; axis_theta; axis_phi.width; axis_theta.width</text> 
     15        [FIXED]= <text>length.width; radius.width; , kuhn_length.width</text> 
     16        [ORIENTATION_PARAMS]= <text></text> 
    1517 
    1618 
     
    3234    //  [DEFAULT]=contrast=5.3e-6 [1/A²] 
    3335    double contrast; 
    34         /// Incoherent Background [1/cm]  
     36        /// Incoherent Background [1/cm] 
    3537        //  [DEFAULT]=background=0.0001 [1/cm] 
    3638        double background; 
    37     /// Orientation of the flexible cylinder axis w/respect incoming beam [rad] 
    38     //  [DEFAULT]=axis_theta=1.0 [rad] 
    39     double axis_theta; 
    40     /// Orientation of the flexible cylinder in the plane of the detector [rad] 
    41     //  [DEFAULT]=axis_phi=1.0 [rad] 
    42     double axis_phi; 
    4339 
    4440 
     
    5349double flexible_cylinder_analytical_2D(FlexibleCylinderParameters *pars, double q, double phi); 
    5450double flexible_cylinder_analytical_2DXY(FlexibleCylinderParameters *pars, double qx, double qy); 
    55 double flexible_cylinder_analytical_2D_scaled(FlexibleCylinderParameters *pars, double q, double q_x, double q_y); 
    5651 
    5752#endif 
Note: See TracChangeset for help on using the changeset viewer.