Changeset 836fe6e in sasview for sansmodels/src/sans/models/CoreShellCylinderModel.py
- Timestamp:
- Jan 29, 2009 5:34:59 PM (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:
- da3dae3
- Parents:
- 1f3655a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/CoreShellCylinderModel.py
r988130c6 r836fe6e 17 17 18 18 WARNING: THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY 19 DO NOT MODIFY THIS FILE, MODIFY .. /c_extensions/core_shell_cylinder.h19 DO NOT MODIFY THIS FILE, MODIFY ..\c_extensions\core_shell_cylinder.h 20 20 AND RE-RUN THE GENERATOR SCRIPT 21 21 … … 28 28 class CoreShellCylinderModel(CCoreShellCylinderModel, BaseComponent): 29 29 """ Class that evaluates a CoreShellCylinderModel model. 30 This file was auto-generated from .. /c_extensions/core_shell_cylinder.h.30 This file was auto-generated from ..\c_extensions\core_shell_cylinder.h. 31 31 Refer to that file and the structure it contains 32 32 for details of the model. … … 54 54 ## Name of the model 55 55 self.name = "CoreShellCylinderModel" 56 ## Model description 56 57 self.description ="""P(q,alpha)= scale/Vs*f(q)^(2) + bkg Where:\n\ 57 58 f(q)= 2(core_sld- solvant_sld)* Vc*sin[qLcos(alpha/2)]/\n\ … … 72 73 theta: axis_theta of the cylinder 73 74 phi: the axis_phi of the cylinder""" 75 74 76 ## Parameter details [units, min, max] 75 77 self.details = {} … … 84 86 self.details['axis_theta'] = ['rad', None, None] 85 87 self.details['axis_phi'] = ['rad', None, None] 86 # fixed paramaters 87 self.fixed=['axis_phi.npts','axis_phi.nsigmas', 88 'axis_theta.npts','axis_theta.nsigmas', 89 'length.npts','length.nsigmas', 90 'radius.npts','radius.nsigmas', 91 'thickness.npts','thickness.nsigmas' ] 88 89 ## fittable parameters 90 self.fixed=['axis_phi.width', 'axis_theta.width', 'length.width', 'radius.width', 'thickness_width'] 92 91 93 92 def clone(self):
Note: See TracChangeset
for help on using the changeset viewer.