Changeset ce8bed9 in sasmodels
- Timestamp:
- Mar 19, 2016 3:59:05 PM (9 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- bad8b12
- Parents:
- aa24114
- Location:
- sasmodels/models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/flexible_cylinder.py
raa24114 rce8bed9 32 32 The returned value is in units of $cm^{-1}$, on absolute scale. 33 33 34 In the parameters, the sld Cyl and sldSolv represent the SLD of the chain/cylinder34 In the parameters, the sld and sld\_solvent represent the SLD of the cylinder 35 35 and solvent respectively. 36 36 -
sasmodels/models/flexible_cylinder_ex.py
r43b7eea rce8bed9 24 24 ----------- 25 25 26 The function calculated i s from the reference given below. From that paper,27 "Method 3 With Excluded Volume" is used.26 The function calculated in a similar way to that for the flexible_cylinder model 27 from the reference given below using the author's "Method 3 With Excluded Volume". 28 28 The model is a parameterization of simulations of a discrete representation of 29 29 the worm-like chain model of Kratky and Porod applied in the pseudo-continuous … … 62 62 maintain this inequality. 63 63 64 The returned value is in units of $cm^ -1$, on absolute scale.64 The returned value is in units of $cm^{-1}$, on absolute scale. 65 65 66 In the parameters, the $sld Cyl$ and $sldSolv$ represent the SLD of the66 In the parameters, the $sld$ and $sld\_solvent$ represent the SLD of the 67 67 chain/cylinder and solvent respectively. The *scale*, and the contrast are both 68 68 multiplicative factors in the model and are perfectly correlated. One or both of … … 103 103 ["kuhn_length", "Ang", 100.0, [0, inf], "volume", "Kuhn length of the flexible cylinder"], 104 104 ["radius", "Ang", 20.0, [0, inf], "volume", "Radius of the flexible cylinder"], 105 ["axis_ratio", "", 1.5, [0, inf], "", "Axis_ratio (major_radius/ radius"],105 ["axis_ratio", "", 1.5, [0, inf], "", "Axis_ratio (major_radius/minor_radius"], 106 106 ["sld", "1e-6/Ang^2", 1.0, [-inf, inf], "", "Cylinder scattering length density"], 107 ["s olvent_sld", "1e-6/Ang^2", 6.3, [-inf, inf], "", "Solvent scattering length density"],107 ["sld_solvent", "1e-6/Ang^2", 6.3, [-inf, inf], "", "Solvent scattering length density"], 108 108 ] 109 109 # pylint: enable=bad-whitespace, line-too-long … … 117 117 axis_ratio=1.5, 118 118 sld=1.0, 119 s olvent_sld=6.3)119 sld_solvent=6.3) 120 120 121 121 oldname = 'FlexCylEllipXModel' 122 oldpars = dict(sld='sldCyl', s olvent_sld='sldSolv')122 oldpars = dict(sld='sldCyl', sld_solvent='sldSolv') 123 123 124 124 … … 131 131 # 'axis_ratio': 1.5, 132 132 # 'sld': 1.0, 133 # 's olvent_sld': 6.3,133 # 'sld_solvent': 6.3, 134 134 # 'background': 0.0001, 135 135 # }, 0.001, 3509.2187], … … 141 141 'axis_ratio': 1.5, 142 142 'sld': 1.0, 143 's olvent_sld': 6.3,143 'sld_solvent': 6.3, 144 144 'background': 0.0001, 145 145 }, 1.0, 0.00223819], … … 149 149 'axis_ratio': 0.5, 150 150 'sld': 6.0, 151 's olvent_sld': 12.3,151 'sld_solvent': 12.3, 152 152 'background': 0.001, 153 153 }, 0.1, 0.390281], … … 157 157 'axis_ratio': 4.5, 158 158 'sld': 0.1, 159 's olvent_sld': 5.1,159 'sld_solvent': 5.1, 160 160 'background': 0.0, 161 161 }, 1.0, 0.0016338264790]
Note: See TracChangeset
for help on using the changeset viewer.