Changeset e65a3e7 in sasmodels for sasmodels/models/flexible_cylinder.py
- Timestamp:
- Mar 19, 2016 5:37:29 PM (8 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:
- aa24114
- Parents:
- 81d3a0c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/flexible_cylinder.py
raa2edb2 re65a3e7 30 30 The Kuhn length $(b = 2*l_p)$ is also used to describe the stiffness of a chain. 31 31 32 The returned value is in units of $cm^ -1$, on absolute scale.32 The returned value is in units of $cm^{-1}$, on absolute scale. 33 33 34 34 In the parameters, the sldCyl and sldSolv represent the SLD of the chain/cylinder … … 65 65 title = "Flexible cylinder where the form factor is normalized by the volume" \ 66 66 "of the cylinder." 67 description = """Note : scale and contrast =sld-solvent_sldare both67 description = """Note : scale and contrast = (sld - sld_solvent) are both 68 68 multiplicative factors in the model and are perfectly 69 69 correlated. One or both of these parameters must be held fixed … … 72 72 73 73 category = "shape:cylinder" 74 single = False 74 single = False # double precision only! 75 75 76 76 # pylint: disable=bad-whitespace, line-too-long … … 81 81 ["radius", "Ang", 20.0, [0, inf], "volume", "Radius of the flexible cylinder"], 82 82 ["sld", "1e-6/Ang^2", 1.0, [-inf, inf], "", "Cylinder scattering length density"], 83 ["s olvent_sld", "1e-6/Ang^2", 6.3, [-inf, inf], "", "Solvent scattering length density"],83 ["sld_solvent", "1e-6/Ang^2", 6.3, [-inf, inf], "", "Solvent scattering length density"], 84 84 ] 85 85 # pylint: enable=bad-whitespace, line-too-long … … 91 91 radius=20.0, 92 92 sld=1.0, 93 s olvent_sld=6.3)93 sld_solvent=6.3) 94 94 95 95 oldname = 'FlexibleCylinderModel' 96 oldpars = dict(sld='sldCyl', s olvent_sld='sldSolv')96 oldpars = dict(sld='sldCyl', sld_solvent='sldSolv') 97 97 98 98 … … 104 104 # 'radius': 20.0, 105 105 # 'sld': 1.0, 106 # 's olvent_sld': 6.3,106 # 'sld_solvent': 6.3, 107 107 # 'background': 0.0001, 108 108 # }, 0.001, 3509.2187], … … 113 113 'radius': 20.0, 114 114 'sld': 1.0, 115 's olvent_sld': 6.3,115 'sld_solvent': 6.3, 116 116 'background': 0.0001, 117 117 }, 1.0, 0.000595345], … … 120 120 'radius': 2.0, 121 121 'sld': 6.0, 122 's olvent_sld': 12.3,122 'sld_solvent': 12.3, 123 123 'background': 0.001, 124 124 }, 0.1, 1.55228], … … 127 127 'radius': 50.0, 128 128 'sld': 0.1, 129 's olvent_sld': 5.1,129 'sld_solvent': 5.1, 130 130 'background': 0.0, 131 131 }, 1.0, 0.000938456]
Note: See TracChangeset
for help on using the changeset viewer.