Changeset 4d3acb6 in sasview for sansmodels/src/sans/models/c_extensions/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/cylinder.h
r96672c0 r4d3acb6 5 5 * [PYTHONCLASS] = CylinderModel 6 6 * [DISP_PARAMS] = radius, length, cyl_theta, cyl_phi 7 [DESCRIPTION] = <text> "P(q,alpha)= scale/V*f(q)^(2)+bkg\n\8 f(q)= 2*(scatter_sld - solvent_sld)*V*sin(qLcos(alpha/2))/[qLcos(alpha/2)]* \n\9 J1(qRsin(alpha/2))/[qRsin(alpha)] \n\10 V: Volume of the cylinder \n\11 R: Radius of the cylinder \n\12 L: Length of the cylinder \n\13 J1: The bessel function \n\14 alpha: angle betweenthe axis of the cylinder and the q-vector \n\15 for 1D:the ouput is P(q)=scale/V*integral from pi/2 to zero of f(q)^(2)* \n\16 sin(alpha)*dalpha+ bkg "7 [DESCRIPTION] = <text>P(q,alpha)= scale/V*f(q)^(2)+bkg 8 f(q)= 2*(scatter_sld - solvent_sld)*V*sin(qLcos(alpha/2))/[qLcos(alpha/2)]* 9 J1(qRsin(alpha/2))/[qRsin(alpha)] 10 V: Volume of the cylinder 11 R: Radius of the cylinder 12 L: Length of the cylinder 13 J1: The bessel function 14 alpha: angle betweenthe axis of the cylinder and the q-vector 15 for 1D:the ouput is P(q)=scale/V*integral from pi/2 to zero of f(q)^(2)* 16 sin(alpha)*dalpha+ bkg 17 17 </text> 18 18
Note: See TracChangeset
for help on using the changeset viewer.