Changeset 70faf5d in sasview for sansmodels/src/sans/models/c_extensions/core_shell_cylinder.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/core_shell_cylinder.h
r25a608f5 r70faf5d 8 8 //[DISP_PARAMS] = radius, thickness, length, axis_theta, axis_phi 9 9 //[DESCRIPTION] = <text>P(q,alpha)= scale/Vs*f(q)^(2) + bkg Where:\n\ 10 // f(q)= 2(core_sld- solvant_sld)* Vc*sin[qLcos(alpha/2)]/\n\ 11 // [qLcos(alpha/2)]*J1(qRsin(alpha))/[qRsin(alpha)] +\n 2(shell_sld-solvent_sld)*Vs 12 // *sin[q(L+T)cos(alpha/2)]/[[q(L+T)cos(alpha/2)] 13 // *J1(q(R+T)sin(alpha))/q(R+T)sin(alpha)] 14 // alpha:is the angle between the axis of the cylinder and the q-vector 15 // Vs: the volume of the outer shell 16 // Vc: the volume of the core 17 // L: the length of the core 18 // shell_sld: the scattering length density of the shell 19 // solvent_sld: the scattering length density of the solvent 20 // bkg: the background 21 // T: the thickness 22 // R+T: is the outer radius 23 // L+2T: The total length of the outershell 24 // J1: the first order Bessel function 25 // theta: axis_theta of the cylinder 26 // phi: the axis_phi of the cylinder 27 // </text> 10 // f(q)= 2(core_sld- solvant_sld)* Vc*sin[qLcos(alpha/2)]/\n\ 11 // [qLcos(alpha/2)]*J1(qRsin(alpha))/[qRsin(alpha)] +\n 12 // 2(shell_sld-solvent_sld)*Vs 13 // *sin[q(L+T)cos(alpha/2)]/[[q(L+T)cos(alpha/2)] 14 // *J1(q(R+T)sin(alpha))/q(R+T)sin(alpha)] 15 // alpha:is the angle between the axis of the cylinder 16 // and the q-vector 17 // Vs: the volume of the outer shell 18 // Vc: the volume of the core 19 // L: the length of the core 20 // shell_sld: the scattering length density of the shell 21 // solvent_sld: the scattering length density of the solvent 22 // bkg: the background 23 // T: the thickness 24 // R+T: is the outer radius 25 // L+2T: The total length of the outershell 26 // J1: the first order Bessel function 27 // theta: axis_theta of the cylinder 28 // phi: the axis_phi of the cylinder 29 // </text> 28 30 //[FIXED]= <text> axis_phi.width; axis_theta.width; length.width;radius.width; thickness_width</text> 29 //[ORIENTATION_PARAMS]= axis_phi; axis_theta;axis_phi.width; axis_theta.width 31 //[ORIENTATION_PARAMS]= axis_phi; axis_theta;axis_phi.width; axis_theta.width 30 32 31 33 … … 35 37 double scale; 36 38 37 /// Core radius [ A]38 // [DEFAULT]=radius=20.0 A39 /// Core radius [Å] 40 // [DEFAULT]=radius=20.0 [Å] 39 41 double radius; 40 42 41 /// Shell thickness [ A]42 // [DEFAULT]=thickness=10.0 A43 /// Shell thickness [Å] 44 // [DEFAULT]=thickness=10.0 [Å] 43 45 double thickness; 44 46 45 /// Core length [ A]46 // [DEFAULT]=length=400.0 A47 /// Core length [Å] 48 // [DEFAULT]=length=400.0 [Å] 47 49 double length; 48 50 49 /// Core SLD [ A-2]50 // [DEFAULT]=core_sld=1.0e-6 A-251 /// Core SLD [1/Ų] 52 // [DEFAULT]=core_sld=1.0e-6 [1/Ų] 51 53 double core_sld; 52 54 53 /// Shell SLD [ A-2]54 // [DEFAULT]=shell_sld=4.0e-6 A-255 /// Shell SLD [1/Ų] 56 // [DEFAULT]=shell_sld=4.0e-6 [1/Ų] 55 57 double shell_sld; 56 58 57 /// Solvent SLD [ A-2]58 // [DEFAULT]=solvent_sld=1.0e-6 A-259 /// Solvent SLD [1/Ų] 60 // [DEFAULT]=solvent_sld=1.0e-6 [1/Ų] 59 61 double solvent_sld; 60 62 61 /// Incoherent Background [ cm-1]62 // [DEFAULT]=background=0 cm-163 /// Incoherent Background [1/cm] 64 // [DEFAULT]=background=0 [1/cm] 63 65 double background; 64 66 65 67 /// Orientation of the long axis of the core-shell cylinder w/respect incoming beam [rad] 66 // [DEFAULT]=axis_theta=1.57 rad68 // [DEFAULT]=axis_theta=1.57 [rad] 67 69 double axis_theta; 68 70 69 71 /// Orientation of the long axis of the core-shell cylinder in the plane of the detector [rad] 70 // [DEFAULT]=axis_phi=0.0 rad72 // [DEFAULT]=axis_phi=0.0 [rad] 71 73 double axis_phi; 72 74
Note: See TracChangeset
for help on using the changeset viewer.