Changeset 9b79f29 in sasmodels
- Timestamp:
- Apr 8, 2017 5:48:49 AM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 48438f9
- Parents:
- 737679d
- Location:
- sasmodels/models
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/barbell.py
r0b56f38 r9b79f29 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, [- inf, inf], "orientation", "In planeangle"],111 ["phi", "degrees", 60, [- inf, inf], "orientation", "Out of plane angle"],110 ["theta", "degrees", 60, [-360, 360], "orientation", "Barbell axis to beam angle"], 111 ["phi", "degrees", 60, [-360, 360], "orientation", "Rotation about beam"], 112 112 ] 113 113 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/bcc_paracrystal.py
r1f65db5 r9b79f29 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, [- inf, inf], "orientation", "In planeangle"],126 ["phi", "degrees", 60, [- inf, inf], "orientation", "Out of plane angle"],127 ["psi", "degrees", 60, [- inf, inf], "orientation", "Out of plane angle"]125 ["theta", "degrees", 60, [-360, 360], "orientation", "c axis to beam angle"], 126 ["phi", "degrees", 60, [-360, 360], "orientation", "rotation about beam"], 127 ["psi", "degrees", 60, [-360, 360], "orientation", "rotation about c axis"] 128 128 ] 129 129 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/capped_cylinder.py
r0b56f38 r9b79f29 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, [- inf, inf], "orientation", "inclinationangle"],132 ["phi", "degrees", 60, [- inf, inf], "orientation", "deflection angle"],131 ["theta", "degrees", 60, [-360, 360], "orientation", "cylinder axis to beam angle"], 132 ["phi", "degrees", 60, [-360, 360], "orientation", "rotation about beam"], 133 133 ] 134 134 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/core_shell_bicelle.py
r0b56f38 r9b79f29 47 47 .. math:: 48 48 49 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 tmodel. 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$. 72 74 73 75 … … 135 137 ["sld_rim", "1e-6/Ang^2", 4, [-inf, inf], "sld", "Cylinder rim scattering length density"], 136 138 ["sld_solvent", "1e-6/Ang^2", 1, [-inf, inf], "sld", "Solvent scattering length density"], 137 ["theta", "degrees", 90, [- inf, inf], "orientation", "In planeangle"],138 ["phi", "degrees", 0, [- inf, inf], "orientation", "Out of plane angle"],139 ["theta", "degrees", 90, [-360, 360], "orientation", "cylinder axis to beam angle"], 140 ["phi", "degrees", 0, [-360, 360], "orientation", "rotation about beam"] 139 141 ] 140 142 … … 160 162 qy = q*sin(pi/6.0) 161 163 tests = [[{}, 0.05, 7.4883545957], 162 [{'theta':80., 'phi':10.}, (qx, qy), 2.81048892474 ] ,164 [{'theta':80., 'phi':10.}, (qx, qy), 2.81048892474 ] 163 165 ] 164 166 del qx, qy # not necessary to delete, but cleaner -
sasmodels/models/core_shell_bicelle_elliptical.py
r16a8c63 r9b79f29 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", 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"],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, [-360, 360], "orientation", "In planeangle"],129 ["phi", "degrees", 0, [-360, 360], "orientation", "Out of plane angle"],130 ["psi", "degrees", 0, [-360, 360], "orientation", "Major axis angle relative to Q"],128 ["theta", "degrees", 90.0, [-360, 360], "orientation", "cylinder axis to beam angle"], 129 ["phi", "degrees", 0, [-360, 360], "orientation", "rotation about beam"], 130 ["psi", "degrees", 0, [-360, 360], "orientation", "rotation about cylinder axis"] 131 131 ] 132 132 -
sasmodels/models/core_shell_cylinder.py
r0b56f38 r9b79f29 117 117 ["length", "Ang", 400, [0, inf], "volume", 118 118 "Cylinder length"], 119 ["theta", "degrees", 60, [- inf, inf], "orientation",120 " In planeangle"],121 ["phi", "degrees", 60, [-inf, inf], "orientation",122 " Out of plane angle"],119 ["theta", "degrees", 60, [-360, 360], "orientation", 120 "cylinder axis to beam angle"], 121 ["phi", "degrees", 60, [-360, 360], "orientation", 122 "rotation about beam"], 123 123 ] 124 124 -
sasmodels/models/core_shell_ellipsoid.py
rdaeef4c r9b79f29 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, [- inf, inf], "orientation", "Oblate orientation wrt incoming beam"],135 ["phi", "degrees", 0, [- inf, inf], "orientation", "Oblate orientation in the plane of the detector"],134 ["theta", "degrees", 0, [-360, 360], "orientation", "elipsoid axis to beam angle"], 135 ["phi", "degrees", 0, [-360, 360], "orientation", "rotation about beam"], 136 136 ] 137 137 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/core_shell_parallelepiped.py
r1f65db5 r9b79f29 153 153 ["thick_rim_c", "Ang", 10, [0, inf], "volume", 154 154 "Thickness of C rim"], 155 ["theta", "degrees", 0, [- inf, inf], "orientation",156 " In planeangle"],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"],155 ["theta", "degrees", 0, [-360, 360], "orientation", 156 "c axis to beam angle"], 157 ["phi", "degrees", 0, [-360, 360], "orientation", 158 "rotation about beam"], 159 ["psi", "degrees", 0, [-360, 360], "orientation", 160 "rotation about c axis"], 161 161 ] 162 162 -
sasmodels/models/cylinder.py
r3fd0499 r9b79f29 127 127 ["length", "Ang", 400, [0, inf], "volume", 128 128 "Cylinder length"], 129 ["theta", "degrees", 60, [- inf, inf], "orientation",130 " latitude"],131 ["phi", "degrees", 60, [-inf, inf], "orientation",132 " longitude"],129 ["theta", "degrees", 60, [-360, 360], "orientation", 130 "cylinder axis to beam angle"], 131 ["phi", "degrees", 60, [-360, 360], "orientation", 132 "rotation about beam"], 133 133 ] 134 134 -
sasmodels/models/ellipsoid.py
r0b56f38 r9b79f29 151 151 ["radius_equatorial", "Ang", 400, [0, inf], "volume", 152 152 "Equatorial radius"], 153 ["theta", "degrees", 60, [- inf, inf], "orientation",154 " In planeangle"],155 ["phi", "degrees", 60, [- inf, inf], "orientation",156 " Out of plane angle"],153 ["theta", "degrees", 60, [-360, 360], "orientation", 154 "ellipsoid axis to beam angle"], 155 ["phi", "degrees", 60, [-360, 360], "orientation", 156 "rotation about beam"], 157 157 ] 158 158 -
sasmodels/models/elliptical_cylinder.py
r16a8c63 r9b79f29 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", " In planeangle"],129 ["phi", "degrees", 0, [-360, 360], "orientation", " Out of plane angle"],130 ["psi", "degrees", 0, [-360, 360], "orientation", " Major axis angle relative to Q"]]128 ["theta", "degrees", 90.0, [-360, 360], "orientation", "cylinder axis to beam angle"], 129 ["phi", "degrees", 0, [-360, 360], "orientation", "rotation about beam"], 130 ["psi", "degrees", 0, [-360, 360], "orientation", "rotation about cylinder axis"]] 131 131 132 132 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/fcc_paracrystal.py
r1f65db5 r9b79f29 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, [-inf, inf], "orientation", "In planeangle"],114 ["phi", "degrees", 60, [-inf, inf], "orientation", "Out of plane angle"],115 ["psi", "degrees", 60, [-inf, inf], "orientation", "Out of plane angle"]113 ["theta", "degrees", 60, [-360, 360], "orientation", "c axis to beam angle"], 114 ["phi", "degrees", 60, [-360, 360], "orientation", "rotation about beam"], 115 ["psi", "degrees", 60, [-360, 360], "orientation", "rotation about c axis"] 116 116 ] 117 117 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/hollow_cylinder.py
r0b56f38 r9b79f29 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", " Thetaangle"],85 ["phi", "degrees", 0, [-360, 360], "orientation", " Phi angle"],84 ["theta", "degrees", 90, [-360, 360], "orientation", "Cylinder axis to beam angle"], 85 ["phi", "degrees", 0, [-360, 360], "orientation", "Rotation about beam"], 86 86 ] 87 87 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/parallelepiped.py
r3fd0499 r9b79f29 205 205 ["length_c", "Ang", 400, [0, inf], "volume", 206 206 "Larger side of the parallelepiped"], 207 ["theta", "degrees", 60, [- inf, inf], "orientation",208 " In planeangle"],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"],207 ["theta", "degrees", 60, [-360, 360], "orientation", 208 "c axis to beam angle"], 209 ["phi", "degrees", 60, [-360, 360], "orientation", 210 "rotation about beam"], 211 ["psi", "degrees", 60, [-360, 360], "orientation", 212 "rotation about c axis"], 213 213 ] 214 214 -
sasmodels/models/sc_paracrystal.py
r737679d r9b79f29 83 83 model computation. 84 84 85 <<<<<<< HEAD86 85 .. figure:: img/parallelepiped_angle_definition.png 87 86 88 87 Orientation of the crystal with respect to the scattering plane, when 89 88 $\theta = \phi = 0$ the $c$ axis is along the beam direction (the $z$ axis). 90 =======91 .. figure:: img/sc_crystal_angle_definition.jpg92 >>>>>>> 3fd04991e2575b02401723d8534c376cd9b6630593 89 94 90 Reference … … 134 130 ["sld", "1e-6/Ang^2", 3.0, [0.0, inf], "sld", "Sphere scattering length density"], 135 131 ["sld_solvent", "1e-6/Ang^2", 6.3, [0.0, inf], "sld", "Solvent scattering length density"], 136 ["theta", "degrees", 0.0, [-inf, inf], "orientation", "Orientation of the a1 axis w/respect incoming beam"],137 ["phi", "degrees", 0.0, [-inf, inf], "orientation", "Orientation of the a2 in the plane of the detector"],138 ["psi", "degrees", 0.0, [-inf, inf], "orientation", "Orientation of the a3 in the plane of the detector"],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"] 139 135 ] 140 136 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/stacked_disks.py
r0b56f38 r9b79f29 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, [- 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"],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"], 135 135 ] 136 136 # pylint: enable=bad-whitespace, line-too-long -
sasmodels/models/triaxial_ellipsoid.py
r737679d r9b79f29 113 113 * **Author:** NIST IGOR/DANSE **Date:** pre 2010 114 114 * **Last Modified by:** Paul Kienzle (improved calculation) **Date:** April 4, 2017 115 <<<<<<< HEAD116 * **Last Reviewed by:** Paul Kienzle &Richard Heenan **Date:** April 4, 2017117 =======118 115 * **Last Reviewed by:** Paul Kienzle & Richard Heenan **Date:** April 4, 2017 119 >>>>>>> 3fd04991e2575b02401723d8534c376cd9b66305120 116 121 117 """ … … 144 140 ["radius_polar", "Ang", 10, [0, inf], "volume", 145 141 "Polar radius, Rc"], 146 ["theta", "degrees", 60, [- inf, inf], "orientation",147 " In planeangle"],148 ["phi", "degrees", 60, [- inf, inf], "orientation",149 " Out of plane angle"],150 ["psi", "degrees", 60, [- inf, inf], "orientation",151 " Out of plane angle"],142 ["theta", "degrees", 60, [-360, 360], "orientation", 143 "polar axis to beam angle"], 144 ["phi", "degrees", 60, [-360, 360], "orientation", 145 "rotation about beam"], 146 ["psi", "degrees", 60, [-360, 360], "orientation", 147 "rotation about polar axis"], 152 148 ] 153 149
Note: See TracChangeset
for help on using the changeset viewer.