Changeset 9316609 in sasview for sansmodels/src/sans/models/CylinderModel.py
- Timestamp:
- Oct 28, 2008 3:22:22 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:
- 92320e5
- Parents:
- 89fef2c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/CylinderModel.py
r96672c0 r9316609 3 3 4 4 WARNING: THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY 5 DO NOT MODIFY THIS FILE, MODIFY cylinder.h5 DO NOT MODIFY THIS FILE, MODIFY Cylinder.h 6 6 AND RE-RUN THE GENERATOR SCRIPT 7 7 … … 16 16 class CylinderModel(CCylinderModel, BaseComponent): 17 17 """ Class that evaluates a CylinderModel model. 18 This file was auto-generated from cylinder.h.18 This file was auto-generated from Cylinder.h. 19 19 Refer to that file and the structure it contains 20 20 for details of the model. … … 39 39 ## Name of the model 40 40 self.name = "CylinderModel" 41 41 self.description= """P(q,alpha)= scale/V*f(q)^(2)+bkg 42 f(q)= 2*(scatter_sld - solvent_sld)*V*sin(qLcos(alpha/2))/[qLcos(alpha/2)]* 43 J1(qRsin(alpha/2))/[qRsin(alpha)] 44 V: Volume of the cylinder 45 R: Radius of the cylinder 46 L: Length of the cylinder 47 J1: The bessel function 48 alpha: angle betweenthe axis of the cylinder and the q-vector 49 for 1D:the ouput is P(q)=scale/V*integral from pi/2 to zero of f(q)^(2)* 50 sin(alpha)*dalpha+ bkg""" 42 51 ## Parameter details [units, min, max] 43 52 self.details = {}
Note: See TracChangeset
for help on using the changeset viewer.