Changeset 4d3acb6 in sasview for sansmodels/src/sans/models/c_extensions/core_shell_cylinder.h
- Timestamp:
- Oct 27, 2008 1:38:21 PM (16 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:
- d611fb93
- Parents:
- 96672c0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_extensions/core_shell_cylinder.h
r96672c0 r4d3acb6 7 7 //[PYTHONCLASS] = CoreShellCylinderModel 8 8 //[DISP_PARAMS] = radius, thickness, length, axis_theta, axis_phi 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\n\ 12 *sin[q(L+T)cos(alpha/2)]/[[q(L+T)cos(alpha/2)]\n\ 13 *J1(q(R+T)sin(alpha))/q(R+T)sin(alpha)]\n\ 14 alpha:is the angle between the axis of the cylinder and the q-vector\n\ 15 Vs: the volume of the outer shell\n\ 16 Vc: the volume of the core\n\17 L: the length of the core\n\18 shell_sld: the scattering length density of the shell\n\19 solvent_sld: the scattering length density of the solvent\n\ 20 bkg: the background\n\21 T: the thickness\n\22 R+T: is the outer radius\n\23 L+2T: The total length of the outershell\n\24 J1: the first order Bessel function\n\ 25 theta: axis_theta of the cylinder\n\26 phi: the axis_phi of the cylinder"\27 </text>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> 28 28 29 29 typedef struct {
Note: See TracChangeset
for help on using the changeset viewer.