source: sasmodels/doc/guide/orientation/orientation.rst @ d7f33e5

Last change on this file since d7f33e5 was 82592da, checked in by richardh, 7 years ago

swapped 2d qa with qb in three elliptical particles, edits to orientation doc

  • Property mode set to 100644
File size: 4.7 KB
RevLine 
[da5536f]1.. _orientation:
2
3Oriented particles
4==================
5
[e964ab1]6With two dimensional small angle diffraction data SasView will calculate
7scattering from oriented particles, applicable for example to shear flow
8or orientation in a magnetic field.
[da5536f]9
[3d40839]10In general we first need to define the reference orientation
[e964ab1]11of the particles with respect to the incoming neutron or X-ray beam. This
12is done using three angles: $\theta$ and $\phi$ define the orientation of
13the axis of the particle, angle $\Psi$ is defined as the orientation of
14the major axis of the particle cross section with respect to its starting
15position along the beam direction. The figures below are for an elliptical
16cross section cylinder, but may be applied analogously to other shapes of
17particle.
[da5536f]18
19.. note::
[e964ab1]20    It is very important to note that these angles, in particular $\theta$
21    and $\phi$, are NOT in general the same as the $\theta$ and $\phi$
22    appearing in equations for the scattering form factor which gives the
23    scattered intensity or indeed in the equation for scattering vector $Q$.
24    The $\theta$ rotation must be applied before the $\phi$ rotation, else
25    there is an ambiguity.
[da5536f]26
27.. figure::
28    orient_img/elliptical_cylinder_angle_definition.png
29
[e964ab1]30    Definition of angles for oriented elliptical cylinder, where axis_ratio
[3d40839]31    b/a is shown >1, Note that rotation $\theta$, initially in the $x$-$z$
32    plane, is carried out first, then rotation $\phi$ about the $z$-axis,
[e964ab1]33    finally rotation $\Psi$ is around the axis of the cylinder. The neutron
34    or X-ray beam is along the $z$ axis.
[da5536f]35
36.. figure::
37    orient_img/elliptical_cylinder_angle_projection.png
38
[e964ab1]39    Some examples of the orientation angles for an elliptical cylinder,
40    with $\Psi$ = 0.
[da5536f]41
[e964ab1]42Having established the mean direction of the particle we can then apply
43angular orientation distributions. This is done by a numerical integration
[3d40839]44over a range of angles in a similar way to particle size dispersity.
[e964ab1]45In the current version of sasview the orientational dispersity is defined
46with respect to the axes of the particle.
[da5536f]47
[3d40839]48The $\theta$ and $\phi$ orientation parameters for the cylinder only appear
49when fitting 2d data. On introducing "Orientational Distribution" in
[e964ab1]50the angles, "distribution of theta" and "distribution of phi" parameters will
51appear. These are actually rotations about the axes $\delta_1$ and $\delta_2$
52of the cylinder, the $b$ and $a$ axes of the cylinder cross section. (When
53$\theta = \phi = 0$ these are parallel to the $Y$ and $X$ axes of the
[3d40839]54instrument.) The third orientation distribution, in $\Psi$, is about the $c$
[e964ab1]55axis of the particle. Some experimentation may be required to understand the
562d patterns fully. A number of different shapes of distribution are
57available, as described for polydispersity, see :ref:`polydispersityhelp` .
[da5536f]58
[e964ab1]59Earlier versions of SasView had numerical integration issues in some
60circumstances when distributions passed through 90 degrees. The distributions
61in particle coordinates are more robust, but should still be approached with
62care for large ranges of angle.
[da5536f]63
[82592da]64.. note::
65    Note that the form factors for oriented particles are also performing
66    numerical integrations over one or more variables, so care should be taken,
67    especially with very large particles or more extreme aspect ratios. In such
68    cases results may not be accurate, particularly at very high Q, unless the model
69    has been specifically coded to use limiting forms of the scattering equations.
70   
71    For best numerical results keep the $\theta$ distribution narrower than the $\phi$
72    distribution. Thus for asymmetric particles, such as elliptical_cylinder, you may
73    need to reorder the sizes of the three axes to acheive the desired result.
74    This is due to the issues of mapping a rectangular distribution onto the
75    surface of a sphere.
76
77Users can experiment with the values of *Npts* and *Nsigs*, the number of steps
78used in the integration and the range spanned in number of standard deviations.
79The standard deviation is entered in units of degrees. For a "rectangular"
80distribution the full width should be $\pm \sqrt(3)$ ~ 1.73 standard deviations.
81The new "uniform" distribution avoids this by letting you directly specify the
82half width.
83
84The angular distributions will be truncated outside of the range -180 to +180
85degrees, so beware of using saying a broad Gaussian distribution with large value
86of *Nsigs*, as the array of *Npts* may be truncated to many fewer points than would
87give a good integration,as well as becoming rather meaningless. (At some point
88in the future the actual polydispersity arrays may be made available to the user
89for inspection.)
[e964ab1]90
91Some more detailed technical notes are provided in the developer section of
92this manual :ref:`orientation_developer` .
[da5536f]93
94*Document History*
95
[82592da]96| 2017-11-06 Richard Heenan
Note: See TracBrowser for help on using the repository browser.