Changes in sasmodels/models/sc_paracrystal.py [69e1afc:3330bb4] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/sc_paracrystal.py
r69e1afc r3330bb4 83 83 model computation. 84 84 85 .. figure:: img/parallelepiped_angle_definition.png 86 87 Orientation of the crystal with respect to the scattering plane, when 88 $\theta = \phi = 0$ the $c$ axis is along the beam direction (the $z$ axis). 85 .. figure:: img/sc_crystal_angle_definition.jpg 89 86 90 87 Reference … … 130 127 ["sld", "1e-6/Ang^2", 3.0, [0.0, inf], "sld", "Sphere scattering length density"], 131 128 ["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"]129 ["theta", "degrees", 0.0, [-inf, inf], "orientation", "Orientation of the a1 axis w/respect incoming beam"], 130 ["phi", "degrees", 0.0, [-inf, inf], "orientation", "Orientation of the a2 in the plane of the detector"], 131 ["psi", "degrees", 0.0, [-inf, inf], "orientation", "Orientation of the a3 in the plane of the detector"], 135 132 ] 136 133 # pylint: enable=bad-whitespace, line-too-long … … 149 146 150 147 tests = [ 151 # Accuracy tests based on content in test/utest_extra_models.py , 2d tests added April 10, 2017148 # Accuracy tests based on content in test/utest_extra_models.py 152 149 [{}, 0.001, 10.3048], 153 150 [{}, 0.215268, 0.00814889], 154 [{}, (0.414467), 0.001313289], 155 [{'theta':10.0,'phi':20,'psi':30.0},(0.045,-0.035),18.0397138402 ], 156 [{'theta':10.0,'phi':20,'psi':30.0},(0.023,0.045),0.0177333171285 ] 151 [{}, (0.414467), 0.001313289] 157 152 ] 158 153
Note: See TracChangeset
for help on using the changeset viewer.