Changeset 7ad9887 in sasview for sansmodels
- Timestamp:
- Sep 14, 2009 6:14:03 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:
- 0ab485b
- Parents:
- 15f52f8
- Location:
- sansmodels/src/sans/models
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/EllipticalCylinderModel.py
rf9bf661 r7ad9887 54 54 self.name = "EllipticalCylinderModel" 55 55 ## Model description 56 self.description ="""Please see details...""" 56 self.description =""" Model parameters: r_minor = the radius of minor axis of the cross section 57 r_ratio = the ratio of (r_major /r_minor >= 1) 58 length = the length of the cylinder 59 contrast = SLD of solvent - SLD of the cylinder 60 background = incoherent background""" 57 61 58 62 ## Parameter details [units, min, max] -
sansmodels/src/sans/models/HollowCylinderModel.py
rf9bf661 r7ad9887 53 53 self.name = "HollowCylinderModel" 54 54 ## Model description 55 self.description ="""""" 55 self.description =""" P(q) = scale*<f*f>/Vol + bkg, where f is the scattering amplitude. 56 core_radius = the radius of core 57 radius = the radius of shell 58 length = the total length of the cylinder 59 contrast = SLD of solvent - SLD of shell 60 background = incoherent background""" 56 61 57 62 ## Parameter details [units, min, max] -
sansmodels/src/sans/models/StackedDisksModel.py
rf9bf661 r7ad9887 57 57 self.name = "StackedDisksModel" 58 58 ## Model description 59 self.description ="""""" 59 self.description =""" One layer of disk consists of a core, a top layer, and a bottom layer. 60 radius = the radius of the disk 61 core_thick = thickness of the core 62 layer_thick = thickness of a layer 63 core_sld = the SLD of the core 64 layer_sld = the SLD of the layers 65 n_stacking = the number of the disks 66 sigma_d = Gaussian STD of d-spacing 67 solvent_sld = the SLD of the solvent""" 60 68 61 69 ## Parameter details [units, min, max] -
sansmodels/src/sans/models/TriaxialEllipsoidModel.py
rf9bf661 r7ad9887 54 54 self.name = "TriaxialEllipsoidModel" 55 55 ## Model description 56 self.description =""" Note:57 Constraints must be applied during fitting to ensure that the inequality a<b<c is not58 violated. The calculation will not report an error, but the results willnot be correct."""56 self.description ="""Note: During fitting ensure that the inequality A<B<C is not 57 violated. Otherwise the calculation will 58 not be correct.""" 59 59 60 60 ## Parameter details [units, min, max] -
sansmodels/src/sans/models/VesicleModel.py
rf9bf661 r7ad9887 51 51 self.name = "VesicleModel" 52 52 ## Model description 53 self.description ="""Model parameters: radius :core radius of the vesicle54 thickness: shell thickness55 core_sld: core scattering length density56 shell_sld: shell scattering length density53 self.description ="""Model parameters: radius : the core radius of the vesicle 54 thickness: the shell thickness 55 core_sld: the core SLD 56 shell_sld: the shell SLD 57 57 background: incoherent background 58 58 scale : scale factor""" -
sansmodels/src/sans/models/c_extensions/elliptical_cylinder.h
r26e4a24 r7ad9887 5 5 * [PYTHONCLASS] = EllipticalCylinderModel 6 6 * [DISP_PARAMS] = r_minor, r_ratio, length, cyl_theta, cyl_phi, cyl_psi 7 * [DESCRIPTION] = Please see details... 7 * [DESCRIPTION] = <text> Model parameters: r_minor = the radius of minor axis of the cross section 8 r_ratio = the ratio of (r_major /r_minor >= 1) 9 length = the length of the cylinder 10 contrast = SLD of solvent - SLD of the cylinder 11 background = incoherent background 12 *</text> 8 13 * [FIXED]= <text> cyl_phi.width; 9 * cyl_theta.width; cyl_psi.width; length.width; r_minor.width; r_ratio.width 14 * cyl_theta.width; cyl_psi.width; length.width; r_minor.width; r_ratio.width 10 15 *</text> 11 16 * [ORIENTATION_PARAMS]= cyl_phi; cyl_theta; cyl_psi; cyl_phi.width; cyl_theta.width; cyl_psi.width -
sansmodels/src/sans/models/c_extensions/hollow_cylinder.h
re2afadf r7ad9887 7 7 //[PYTHONCLASS] = HollowCylinderModel 8 8 //[DISP_PARAMS] = core_radius, radius, length, axis_theta, axis_phi 9 //[DESCRIPTION] = <text></text> 9 //[DESCRIPTION] = <text> P(q) = scale*<f*f>/Vol + bkg, where f is the scattering amplitude. 10 // core_radius = the radius of core 11 // radius = the radius of shell 12 // length = the total length of the cylinder 13 // contrast = SLD of solvent - SLD of shell 14 // background = incoherent background 15 // </text> 10 16 //[FIXED]= <text> axis_phi.width; axis_theta.width; length.width;core_radius.width; radius</text> 11 17 //[ORIENTATION_PARAMS]= axis_phi; axis_theta;axis_phi.width; axis_theta.width -
sansmodels/src/sans/models/c_extensions/stacked_disks.h
r975ec8e r7ad9887 8 8 * [PYTHONCLASS] = StackedDisksModel 9 9 * [DISP_PARAMS] = core_thick, layer_thick, radius, axis_theta, axis_phi 10 [DESCRIPTION] = <text> 10 [DESCRIPTION] = <text> One layer of disk consists of a core, a top layer, and a bottom layer. 11 radius = the radius of the disk 12 core_thick = thickness of the core 13 layer_thick = thickness of a layer 14 core_sld = the SLD of the core 15 layer_sld = the SLD of the layers 16 n_stacking = the number of the disks 17 sigma_d = Gaussian STD of d-spacing 18 solvent_sld = the SLD of the solvent 11 19 </text> 12 20 [FIXED]= <text>core_thick.width;layer_thick.width; radius.width; axis_theta.width; axis_phi.width</text> -
sansmodels/src/sans/models/c_extensions/triaxial_ellipsoid.h
r3c102d4 r7ad9887 4 4 * [PYTHONCLASS] = TriaxialEllipsoidModel 5 5 * [DISP_PARAMS] = axis_theta, axis_phi, axis_psi 6 [DESCRIPTION] = <text> Note: 7 Constraints must be applied during fitting to ensure that the inequality a<b<c is not8 violated. The calculation will not report an error, but the results willnot be correct.9 6 [DESCRIPTION] = <text>Note: During fitting ensure that the inequality A<B<C is not 7 violated. Otherwise the calculation will 8 not be correct. 9 </text> 10 10 [FIXED]= <text>axis_psi.width; axis_phi.width; axis_theta.width; semi_axisA.width; semi_axisB.width; semi_axisC.width </text> 11 11 [ORIENTATION_PARAMS]= <text>axis_psi; axis_phi; axis_theta; axis_psi.width; axis_phi.width; axis_theta.width</text> 12 13 14 12 **/ 15 13 typedef struct { -
sansmodels/src/sans/models/c_extensions/vesicle.h
re2afadf r7ad9887 6 6 [PYTHONCLASS] = VesicleModel 7 7 [DISP_PARAMS] = radius,thickness 8 [DESCRIPTION] =<text>Model parameters: radius :core radius of the vesicle9 thickness: shell thickness10 core_sld: core scattering length density11 shell_sld: shell scattering length density8 [DESCRIPTION] =<text>Model parameters: radius : the core radius of the vesicle 9 thickness: the shell thickness 10 core_sld: the core SLD 11 shell_sld: the shell SLD 12 12 background: incoherent background 13 13 scale : scale factor
Note: See TracChangeset
for help on using the changeset viewer.