Changeset eda8b30 in sasmodels for sasmodels/models/cylinder.py
- Timestamp:
- Oct 28, 2017 6:42:15 AM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 5f8b72b
- Parents:
- da5536f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/cylinder.py
r31df0c9 reda8b30 54 54 when $P(q) \cdot S(q)$ is applied. 55 55 56 For oriented cylinders, we define the direction of the56 For 2d scattering from oriented cylinders, we define the direction of the 57 57 axis of the cylinder using two angles $\theta$ (note this is not the 58 58 same as the scattering angle used in q) and $\phi$. Those angles 59 are defined in :numref:`cylinder-angle-definition` .59 are defined in :numref:`cylinder-angle-definition` , for further details see :ref:`orientation` . 60 60 61 61 .. _cylinder-angle-definition: … … 63 63 .. figure:: img/cylinder_angle_definition.png 64 64 65 Definition of the $\theta$ and $\phi$ orientation angles for a cylinder relative 66 to the beam line coordinates, plus an indication of their orientation distributions 67 which are described as rotations about each of the perpendicular axes $\delta_1$ and $\delta_2$ 65 Angles $\theta$ and $\phi$ orient the cylinder relative 66 to the beam line coordinates, where the beam is along the $z$ axis. Rotation $\theta$, initially 67 in the $xz$ plane, is carried out first, then rotation $\phi$ about the $z$ axis. Orientation distributions 68 are described as rotations about two perpendicular axes $\delta_1$ and $\delta_2$ 68 69 in the frame of the cylinder itself, which when $\theta = \phi = 0$ are parallel to the $Y$ and $X$ axes. 69 70 … … 73 74 74 75 The $\theta$ and $\phi$ parameters to orient the cylinder only appear in the model when fitting 2d data. 75 On introducing "Orientational Distribution" in the angles, "distribution of theta" and "distribution of phi" parameters will76 appear. These are actually rotations about the axes $\delta_1$ and $\delta_2$ of the cylinder, which when $\theta = \phi = 0$ are parallel77 to the $Y$ and $X$ axes of the instrument respectively. Some experimentation may be required to understand the 2d patterns fully.78 (Earlier implementations had numerical integration issues in some circumstances when orientation distributions passed through 90 degrees, such79 situations, with very broad distributions, should still be approached with care.)80 76 81 77 Validation
Note: See TracChangeset
for help on using the changeset viewer.