Changeset 9802ab3 in sasmodels
- Timestamp:
- Apr 10, 2017 9:56:55 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:
- 69e1afc
- Parents:
- dedcf34
- Location:
- sasmodels/models
- Files:
-
- 1 added
- 1 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/barbell.py
r9b79f29 r9802ab3 68 68 The 2D scattering intensity is calculated similar to the 2D cylinder model. 69 69 70 .. figure:: img/cylinder_angle_definition. jpg70 .. figure:: img/cylinder_angle_definition.png 71 71 72 72 Definition of the angles for oriented 2D barbells. -
sasmodels/models/capped_cylinder.py
r9b79f29 r9802ab3 71 71 The 2D scattering intensity is calculated similar to the 2D cylinder model. 72 72 73 .. figure:: img/cylinder_angle_definition. jpg73 .. figure:: img/cylinder_angle_definition.png 74 74 75 75 Definition of the angles for oriented 2D cylinders. -
sasmodels/models/core_shell_bicelle.py
r9b79f29 r9802ab3 63 63 cylinders is then given by integrating over all possible $\theta$ and $\phi$. 64 64 65 The *theta* and *phi* parameters are not used for the 1D output. 65 For oriented bicelles the *theta*, and *phi* orientation parameters will appear when fitting 2D data, 66 see the :ref:`cylinder` model for further information. 66 67 Our implementation of the scattering kernel and the 1D scattering intensity 67 68 use the c-library from NIST. 68 69 69 .. figure:: img/cylinder_angle_definition. jpg70 .. figure:: img/cylinder_angle_definition.png 70 71 71 72 Definition of the angles for the oriented core shell bicelle model, -
sasmodels/models/core_shell_bicelle_elliptical.py
r9b79f29 r9802ab3 76 76 bicelles is then given by integrating over all possible $\alpha$ and $\psi$. 77 77 78 For oriented bicell les the *theta*, *phi* and *psi* orientation parameters onlyappear when fitting 2D data,78 For oriented bicelles the *theta*, *phi* and *psi* orientation parameters will appear when fitting 2D data, 79 79 see the :ref:`elliptical-cylinder` model for further information. 80 80 -
sasmodels/models/core_shell_ellipsoid.py
r9b79f29 r9802ab3 77 77 F^2(q)=\int_{0}^{\pi/2}{F^2(q,\alpha)\sin(\alpha)d\alpha} 78 78 79 For oriented ellipsoids the *theta*, *phi* and *psi* orientation parameters will appear when fitting 2D data, 80 see the :ref:`elliptical-cylinder` model for further information. 79 81 80 82 References -
sasmodels/models/cylinder.py
r9b79f29 r9802ab3 61 61 .. _cylinder-angle-definition: 62 62 63 .. figure:: img/cylinder_angle_definition. jpg63 .. figure:: img/cylinder_angle_definition.png 64 64 65 Definition of the angles for oriented cylinders. 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$ 68 in the frame of the cylinder itself, which when $\theta = \phi = 0$ are parallel to the $Y$ and $X$ axes. 66 69 67 70 .. figure:: img/cylinder_angle_projection.png … … 69 72 Examples for oriented cylinders. 70 73 71 The $\theta$ and $\phi$ parameters only appear in the model when fitting 2d data. 74 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 will 76 appear. These are actually rotations about the axes $\delta_1$ and $\delta_2$ of the cylinder, which when $\theta = \phi = 0$ are parallel 77 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, such 79 situations, with very broad distributions, should still be approached with care.) 72 80 73 81 Validation -
sasmodels/models/elliptical_cylinder.py
r9b79f29 r9802ab3 57 57 define the axis of the cylinder using two angles $\theta$, $\phi$ and $\Psi$ 58 58 (see :ref:`cylinder orientation <cylinder-angle-definition>`). The angle 59 $\Psi$ is the rotational angle around its own long_c axis against the $q$ plane. 60 For example, $\Psi = 0$ when the $r_\text{minor}$ axis is parallel to the 61 $x$ axis of the detector. 59 $\Psi$ is the rotational angle around its own long_c axis. 62 60 63 61 All angle parameters are valid and given only for 2D calculation; ie, an … … 66 64 .. figure:: img/elliptical_cylinder_angle_definition.png 67 65 68 Definition of angles for oriented elliptical cylinder, where axis_ratio >1,69 and angle $\Psi$ is a rotation around the axis of the cylinder.66 Definition of angles for oriented elliptical cylinder, where axis_ratio is drawn >1, 67 and angle $\Psi$ is now a rotation around the axis of the cylinder. 70 68 71 69 .. figure:: img/elliptical_cylinder_angle_projection.png … … 73 71 Examples of the angles for oriented elliptical cylinders against the 74 72 detector plane, with $\Psi$ = 0. 73 74 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 will 76 appear. These are actually rotations about the axes $\delta_1$ and $\delta_2$ of the cylinder, the $b$ and $a$ axes of the 77 cylinder cross section. (When $\theta = \phi = 0$ these are parallel to the $Y$ and $X$ axes of the instrument.) 78 The third orientation distribution, in $\psi$, is about the $c$ axis of the particle. Some experimentation may be required to 79 understand the 2d patterns fully. (Earlier implementations had numerical integration issues in some circumstances when orientation 80 distributions passed through 90 degrees, such situations, with very broad distributions, should still be approached with care.) 75 81 76 82 NB: The 2nd virial coefficient of the cylinder is calculated based on the -
sasmodels/models/parallelepiped.py
r3401a7a r9802ab3 112 112 detector plane. 113 113 114 On introducing "Orientational Distribution" in the angles, "distribution of theta" and "distribution of phi" parameters will 115 appear. These are actually rotations about axes $\delta_1$ and $\delta_2$ of the parallelepiped, perpendicular to the $a$ x $c$ and $b$ x $c$ faces. 116 (When $\theta = \phi = 0$ these are parallel to the $Y$ and $X$ axes of the instrument.) The third orientation distribution, in $\psi$, is 117 about the $c$ axis of the particle, perpendicular to the $a$ x $b$ face. Some experimentation may be required to 118 understand the 2d patterns fully. (Earlier implementations had numerical integration issues in some circumstances when orientation 119 distributions passed through 90 degrees, such situations, with very broad distributions, should still be approached with care.) 120 121 114 122 For a given orientation of the parallelepiped, the 2D form factor is 115 123 calculated as -
sasmodels/models/stacked_disks.py
r48438f9 r9802ab3 77 77 the axis of the cylinder using two angles $\theta$ and $\varphi$. 78 78 79 .. figure:: img/cylinder_angle_definition. jpg79 .. figure:: img/cylinder_angle_definition.png 80 80 81 81 Examples of the angles against the detector plane. -
sasmodels/models/triaxial_ellipsoid.py
r3401a7a r9802ab3 76 76 of the particle. 77 77 78 The angle $\psi$ is the rotational angle around its own $c$ axis 79 against the $q$ plane. For example, $\psi = 0$ when the 80 $a$ axis is parallel to the $x$ axis of the detector. 78 For oriented ellipsoids the *theta*, *phi* and *psi* orientation parameters will appear when fitting 2D data, 79 see the :ref:`elliptical-cylinder` model for further information. 81 80 82 81 .. _triaxial-ellipsoid-angles:
Note: See TracChangeset
for help on using the changeset viewer.