Changeset 70faf5d in sasview for sansmodels/src/sans/models/c_extensions/ellipsoid.h
- Timestamp:
- Apr 15, 2009 9:58:33 AM (15 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_extensions/ellipsoid.h
r25a608f5 r70faf5d 9 9 //[PYTHONCLASS] = EllipsoidModel 10 10 //[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> 21 23 //[FIXED]= <text> axis_phi.width; axis_theta.width;radius_a.width; 22 24 //radius_b.width; length.width; r_minor.width … … 30 32 double scale; 31 33 32 /// Rotation axis radius_a [ A]33 // [DEFAULT]=radius_a=20.0 A34 /// Rotation axis radius_a [Å] 35 // [DEFAULT]=radius_a=20.0 [Å] 34 36 double radius_a; 35 37 36 /// Radius_b [ A]37 // [DEFAULT]=radius_b=400 A38 /// Radius_b [Å] 39 // [DEFAULT]=radius_b=400 [Å] 38 40 double radius_b; 39 41 40 /// Contrast [ Å-2]41 // [DEFAULT]=contrast=3.0e-6 A-242 /// Contrast [1/Ų] 43 // [DEFAULT]=contrast=3.0e-6 [1/Ų] 42 44 double contrast; 43 45 44 /// Incoherent Background [ cm-1]45 // [DEFAULT]=background=0 cm-146 /// Incoherent Background [1/cm] 47 // [DEFAULT]=background=0 [1/cm] 46 48 double background; 47 49 48 50 /// Orientation of the long axis of the ellipsoid w/respect incoming beam [rad] 49 // [DEFAULT]=axis_theta=1.57 rad51 // [DEFAULT]=axis_theta=1.57 [rad] 50 52 double axis_theta; 51 53 /// Orientation of the long axis of the ellipsoid in the plane of the detector [rad] 52 // [DEFAULT]=axis_phi=0.0 rad54 // [DEFAULT]=axis_phi=0.0 [rad] 53 55 double axis_phi; 54 56 } EllipsoidParameters;
Note: See TracChangeset
for help on using the changeset viewer.