Changes in / [48438f9:85190c2] in sasmodels
- Location:
- sasmodels/models
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/barbell.py
r9b79f29 r0b56f38 108 108 ["radius", "Ang", 20, [0, inf], "volume", "Cylindrical bar radius"], 109 109 ["length", "Ang", 400, [0, inf], "volume", "Cylinder bar length"], 110 ["theta", "degrees", 60, [- 360, 360], "orientation", "Barbell axis to beamangle"],111 ["phi", "degrees", 60, [- 360, 360], "orientation", "Rotation about beam"],110 ["theta", "degrees", 60, [-inf, inf], "orientation", "In plane angle"], 111 ["phi", "degrees", 60, [-inf, inf], "orientation", "Out of plane angle"], 112 112 ] 113 113 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/bcc_paracrystal.py
r9b79f29 r1f65db5 123 123 ["sld", "1e-6/Ang^2", 4, [-inf, inf], "sld", "Particle scattering length density"], 124 124 ["sld_solvent", "1e-6/Ang^2", 1, [-inf, inf], "sld", "Solvent scattering length density"], 125 ["theta", "degrees", 60, [- 360, 360], "orientation", "c axis to beamangle"],126 ["phi", "degrees", 60, [- 360, 360], "orientation", "rotation about beam"],127 ["psi", "degrees", 60, [- 360, 360], "orientation", "rotation about c axis"]125 ["theta", "degrees", 60, [-inf, inf], "orientation", "In plane angle"], 126 ["phi", "degrees", 60, [-inf, inf], "orientation", "Out of plane angle"], 127 ["psi", "degrees", 60, [-inf, inf], "orientation", "Out of plane angle"] 128 128 ] 129 129 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/capped_cylinder.py
r9b79f29 r0b56f38 129 129 ["radius_cap", "Ang", 20, [0, inf], "volume", "Cap radius"], 130 130 ["length", "Ang", 400, [0, inf], "volume", "Cylinder length"], 131 ["theta", "degrees", 60, [- 360, 360], "orientation", "cylinder axis to beamangle"],132 ["phi", "degrees", 60, [- 360, 360], "orientation", "rotation about beam"],131 ["theta", "degrees", 60, [-inf, inf], "orientation", "inclination angle"], 132 ["phi", "degrees", 60, [-inf, inf], "orientation", "deflection angle"], 133 133 ] 134 134 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/core_shell_bicelle.py
r9b79f29 r0b56f38 47 47 .. math:: 48 48 49 \begin{align}49 \begin{align} 50 50 F(Q,\alpha) = &\bigg[ 51 51 (\rho_c - \rho_f) V_c \frac{2J_1(QRsin \alpha)}{QRsin\alpha}\frac{sin(QLcos\alpha/2)}{Q(L/2)cos\alpha} \\ … … 69 69 .. figure:: img/cylinder_angle_definition.jpg 70 70 71 Definition of the angles for the oriented core shell bicelle model, 72 note that the cylinder axis of the bicelle starts along the beam direction 73 when $\theta = \phi = 0$. 71 Definition of the angles for the oriented core shell bicelle tmodel. 74 72 75 73 … … 137 135 ["sld_rim", "1e-6/Ang^2", 4, [-inf, inf], "sld", "Cylinder rim scattering length density"], 138 136 ["sld_solvent", "1e-6/Ang^2", 1, [-inf, inf], "sld", "Solvent scattering length density"], 139 ["theta", "degrees", 90, [- 360, 360], "orientation", "cylinder axis to beamangle"],140 ["phi", "degrees", 0, [- 360, 360], "orientation", "rotation about beam"]137 ["theta", "degrees", 90, [-inf, inf], "orientation", "In plane angle"], 138 ["phi", "degrees", 0, [-inf, inf], "orientation", "Out of plane angle"], 141 139 ] 142 140 … … 162 160 qy = q*sin(pi/6.0) 163 161 tests = [[{}, 0.05, 7.4883545957], 164 [{'theta':80., 'phi':10.}, (qx, qy), 2.81048892474 ] 162 [{'theta':80., 'phi':10.}, (qx, qy), 2.81048892474 ], 165 163 ] 166 164 del qx, qy # not necessary to delete, but cleaner -
sasmodels/models/core_shell_bicelle_elliptical.py
r9b79f29 r15a90c1 119 119 ["radius", "Ang", 30, [0, inf], "volume", "Cylinder core radius"], 120 120 ["x_core", "None", 3, [0, inf], "volume", "axial ratio of core, X = r_polar/r_equatorial"], 121 ["thick_rim", "Ang", 122 ["thick_face", "Ang", 123 ["length", "Ang", 121 ["thick_rim", "Ang", 8, [0, inf], "volume", "Rim shell thickness"], 122 ["thick_face", "Ang", 14, [0, inf], "volume", "Cylinder face thickness"], 123 ["length", "Ang", 50, [0, inf], "volume", "Cylinder length"], 124 124 ["sld_core", "1e-6/Ang^2", 4, [-inf, inf], "sld", "Cylinder core scattering length density"], 125 125 ["sld_face", "1e-6/Ang^2", 7, [-inf, inf], "sld", "Cylinder face scattering length density"], 126 126 ["sld_rim", "1e-6/Ang^2", 1, [-inf, inf], "sld", "Cylinder rim scattering length density"], 127 127 ["sld_solvent", "1e-6/Ang^2", 6, [-inf, inf], "sld", "Solvent scattering length density"], 128 ["theta", "degrees", 90.0, [-360, 360], "orientation", "cylinder axis to beamangle"],129 ["phi", "degrees", 0, [-360, 360], "orientation", "rotation about beam"],130 ["psi", "degrees", 0, [-360, 360], "orientation", "rotation about cylinder axis"]128 ["theta", "degrees", 90, [-360, 360], "orientation", "In plane angle"], 129 ["phi", "degrees", 0, [-360, 360], "orientation", "Out of plane angle"], 130 ["psi", "degrees", 0, [-360, 360], "orientation", "Major axis angle relative to Q"], 131 131 ] 132 132 -
sasmodels/models/core_shell_cylinder.py
r9b79f29 r0b56f38 117 117 ["length", "Ang", 400, [0, inf], "volume", 118 118 "Cylinder length"], 119 ["theta", "degrees", 60, [- 360, 360], "orientation",120 " cylinder axis to beamangle"],121 ["phi", "degrees", 60, [-360, 360], "orientation",122 " rotation about beam"],119 ["theta", "degrees", 60, [-inf, inf], "orientation", 120 "In plane angle"], 121 ["phi", "degrees", 60, [-inf, inf], "orientation", 122 "Out of plane angle"], 123 123 ] 124 124 -
sasmodels/models/core_shell_ellipsoid.py
r9b79f29 r8e68ea0 132 132 ["sld_shell", "1e-6/Ang^2", 1, [-inf, inf], "sld", "Shell scattering length density"], 133 133 ["sld_solvent", "1e-6/Ang^2", 6.3, [-inf, inf], "sld", "Solvent scattering length density"], 134 ["theta", "degrees", 0, [- 360, 360], "orientation", "elipsoid axis to beam angle"],135 ["phi", "degrees", 0, [- 360, 360], "orientation", "rotation about beam"],134 ["theta", "degrees", 0, [-inf, inf], "orientation", "Oblate orientation wrt incoming beam"], 135 ["phi", "degrees", 0, [-inf, inf], "orientation", "Oblate orientation in the plane of the detector"], 136 136 ] 137 137 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/core_shell_parallelepiped.py
r9b79f29 r1f65db5 153 153 ["thick_rim_c", "Ang", 10, [0, inf], "volume", 154 154 "Thickness of C rim"], 155 ["theta", "degrees", 0, [- 360, 360], "orientation",156 " c axis to beamangle"],157 ["phi", "degrees", 0, [- 360, 360], "orientation",158 " rotation about beam"],159 ["psi", "degrees", 0, [- 360, 360], "orientation",160 " rotation about c axis"],155 ["theta", "degrees", 0, [-inf, inf], "orientation", 156 "In plane angle"], 157 ["phi", "degrees", 0, [-inf, inf], "orientation", 158 "Out of plane angle"], 159 ["psi", "degrees", 0, [-inf, inf], "orientation", 160 "Rotation angle around its own c axis against q plane"], 161 161 ] 162 162 -
sasmodels/models/cylinder.py
r9b79f29 r3330bb4 127 127 ["length", "Ang", 400, [0, inf], "volume", 128 128 "Cylinder length"], 129 ["theta", "degrees", 60, [- 360, 360], "orientation",130 " cylinder axis to beam angle"],131 ["phi", "degrees", 60, [-360, 360], "orientation",132 " rotation about beam"],129 ["theta", "degrees", 60, [-inf, inf], "orientation", 130 "latitude"], 131 ["phi", "degrees", 60, [-inf, inf], "orientation", 132 "longitude"], 133 133 ] 134 134 -
sasmodels/models/ellipsoid.py
r9b79f29 r0b56f38 151 151 ["radius_equatorial", "Ang", 400, [0, inf], "volume", 152 152 "Equatorial radius"], 153 ["theta", "degrees", 60, [- 360, 360], "orientation",154 " ellipsoid axis to beamangle"],155 ["phi", "degrees", 60, [- 360, 360], "orientation",156 " rotation about beam"],153 ["theta", "degrees", 60, [-inf, inf], "orientation", 154 "In plane angle"], 155 ["phi", "degrees", 60, [-inf, inf], "orientation", 156 "Out of plane angle"], 157 157 ] 158 158 -
sasmodels/models/elliptical_cylinder.py
r9b79f29 r15a90c1 126 126 ["sld", "1e-6/Ang^2", 4.0, [-inf, inf], "sld", "Cylinder scattering length density"], 127 127 ["sld_solvent", "1e-6/Ang^2", 1.0, [-inf, inf], "sld", "Solvent scattering length density"], 128 ["theta", "degrees", 90.0, [-360, 360], "orientation", " cylinder axis to beamangle"],129 ["phi", "degrees", 0, [-360, 360], "orientation", " rotation about beam"],130 ["psi", "degrees", 0, [-360, 360], "orientation", " rotation about cylinder axis"]]128 ["theta", "degrees", 90.0, [-360, 360], "orientation", "In plane angle"], 129 ["phi", "degrees", 0, [-360, 360], "orientation", "Out of plane angle"], 130 ["psi", "degrees", 0, [-360, 360], "orientation", "Major axis angle relative to Q"]] 131 131 132 132 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/fcc_paracrystal.py
r9b79f29 r1f65db5 111 111 ["sld", "1e-6/Ang^2", 4, [-inf, inf], "sld", "Particle scattering length density"], 112 112 ["sld_solvent", "1e-6/Ang^2", 1, [-inf, inf], "sld", "Solvent scattering length density"], 113 ["theta", "degrees", 60, [-360, 360], "orientation", "c axis to beamangle"],114 ["phi", "degrees", 60, [-360, 360], "orientation", "rotation about beam"],115 ["psi", "degrees", 60, [-360, 360], "orientation", "rotation about c axis"]113 ["theta", "degrees", 60, [-inf, inf], "orientation", "In plane angle"], 114 ["phi", "degrees", 60, [-inf, inf], "orientation", "Out of plane angle"], 115 ["psi", "degrees", 60, [-inf, inf], "orientation", "Out of plane angle"] 116 116 ] 117 117 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/hollow_cylinder.py
r9b79f29 r0b56f38 82 82 ["sld", "1/Ang^2", 6.3, [-inf, inf], "sld", "Cylinder sld"], 83 83 ["sld_solvent", "1/Ang^2", 1, [-inf, inf], "sld", "Solvent sld"], 84 ["theta", "degrees", 90, [-360, 360], "orientation", " Cylinder axis to beamangle"],85 ["phi", "degrees", 0, [-360, 360], "orientation", " Rotation about beam"],84 ["theta", "degrees", 90, [-360, 360], "orientation", "Theta angle"], 85 ["phi", "degrees", 0, [-360, 360], "orientation", "Phi angle"], 86 86 ] 87 87 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/parallelepiped.py
r9b79f29 rafd4692 205 205 ["length_c", "Ang", 400, [0, inf], "volume", 206 206 "Larger side of the parallelepiped"], 207 ["theta", "degrees", 60, [- 360, 360], "orientation",208 " c axis to beamangle"],209 ["phi", "degrees", 60, [- 360, 360], "orientation",210 " rotation about beam"],211 ["psi", "degrees", 60, [- 360, 360], "orientation",212 " rotation about c axis"],207 ["theta", "degrees", 60, [-inf, inf], "orientation", 208 "In plane angle"], 209 ["phi", "degrees", 60, [-inf, inf], "orientation", 210 "Out of plane angle"], 211 ["psi", "degrees", 60, [-inf, inf], "orientation", 212 "Rotation angle around its own c axis against q plane"], 213 213 ] 214 214 -
sasmodels/models/sc_paracrystal.py
r9b79f29 r0881f4e 130 130 ["sld", "1e-6/Ang^2", 3.0, [0.0, inf], "sld", "Sphere scattering length density"], 131 131 ["sld_solvent", "1e-6/Ang^2", 6.3, [0.0, inf], "sld", "Solvent scattering length density"], 132 ["theta", "degrees", 0, [-360, 360], "orientation", "c axis to beam angle"],133 ["phi", "degrees", 0, [-360, 360], "orientation", "rotation about beam"],134 ["psi", "degrees", 0, [-360, 360], "orientation", "rotation about c axis"]132 ["theta", "degrees", 0.0, [-inf, inf], "orientation", "Orientation of the a1 axis w/respect incoming beam"], 133 ["phi", "degrees", 0.0, [-inf, inf], "orientation", "Orientation of the a2 in the plane of the detector"], 134 ["psi", "degrees", 0.0, [-inf, inf], "orientation", "Orientation of the a3 in the plane of the detector"], 135 135 ] 136 136 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/stacked_disks.py
r9b79f29 rf3073b0 131 131 ["sld_layer", "1e-6/Ang^2", 0.0, [-inf, inf], "sld", "Layer scattering length density"], 132 132 ["sld_solvent", "1e-6/Ang^2", 5.0, [-inf, inf], "sld", "Solvent scattering length density"], 133 ["theta", "degrees", 0, [- 360, 360], "orientation", "Orientation of the stacked disk axis w/respect incoming beam"],134 ["phi", "degrees", 0, [- 360, 360], "orientation", "Rotation about beam"],133 ["theta", "degrees", 0, [-inf, inf], "orientation", "Orientation of the stacked disk axis w/respect incoming beam"], 134 ["phi", "degrees", 0, [-inf, inf], "orientation", "Orientation of the stacked disk in the plane of the detector"], 135 135 ] 136 136 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/triaxial_ellipsoid.py
r9b79f29 r0881f4e 118 118 * **Last Modified by:** Paul Kienzle (improved calculation) **Date:** April 4, 2017 119 119 * **Last Reviewed by:** Paul Kienzle & Richard Heenan **Date:** April 4, 2017 120 """ 120 121 121 122 from numpy import inf, sin, cos, pi … … 142 143 ["radius_polar", "Ang", 10, [0, inf], "volume", 143 144 "Polar radius, Rc"], 144 ["theta", "degrees", 60, [- 360, 360], "orientation",145 " polar axis to beamangle"],146 ["phi", "degrees", 60, [- 360, 360], "orientation",147 " rotation about beam"],148 ["psi", "degrees", 60, [- 360, 360], "orientation",149 " rotation about polar axis"],145 ["theta", "degrees", 60, [-inf, inf], "orientation", 146 "In plane angle"], 147 ["phi", "degrees", 60, [-inf, inf], "orientation", 148 "Out of plane angle"], 149 ["psi", "degrees", 60, [-inf, inf], "orientation", 150 "Out of plane angle"], 150 151 ] 151 152
Note: See TracChangeset
for help on using the changeset viewer.