Difference between revisions of "Extra:Intersecting planes"

From GISAXS
Jump to: navigation, search
(Distance between two planes)
(Angle between two planes)
Line 16: Line 16:
 
\mathbf{v}_1 = \begin{bmatrix} q \sin \phi & q \cos \phi \ & 0 \end{bmatrix}
 
\mathbf{v}_1 = \begin{bmatrix} q \sin \phi & q \cos \phi \ & 0 \end{bmatrix}
 
</math>
 
</math>
The second vector (<math>\scriptstyle \mathbf{v}_2</math>)is lying in plane 2. We call <math>\scriptstyle \alpha_r</math> the angle between <math>\scriptstyle \mathbf{v}_1</math> and <math>\scriptstyle \mathbf{v}_2</math>. The specified geometry uniquely defines <math>\scriptstyle \alpha_r</math> in terms of the angle between the planes (<math>\scriptstyle \alpha</math>) and the amount of rotation of the vectors (<math>\scriptstyle \phi</math>) within their respective planes. In particular, <math>\scriptstyle \mathbf{v}_2</math> can be thought of as <math>\scriptstyle \mathbf{v}_{2b}</math> rotated about <math>\scriptstyle \mathbf{n}_2</math> by <math>\scriptstyle \phi</math>, where <math>\scriptstyle \mathbf{v}_2b</math> is the vector in plane 2 without any <math>\scriptstyle \phi</math> rotation (i.e. lying in the <math>\scriptstyle yz</math> plane):
+
The second vector (<math>\scriptstyle \mathbf{v}_2</math>) is lying in plane 2. We call <math>\scriptstyle \alpha_r</math> the angle between <math>\scriptstyle \mathbf{v}_1</math> and <math>\scriptstyle \mathbf{v}_2</math>. The specified geometry uniquely defines <math>\scriptstyle \alpha_r</math> in terms of the angle between the planes (<math>\scriptstyle \alpha</math>) and the amount of rotation of the vectors (<math>\scriptstyle \phi</math>) within their respective planes. In particular, <math>\scriptstyle \mathbf{v}_2</math> can be thought of as <math>\scriptstyle \mathbf{v}_{2b}</math> rotated about <math>\scriptstyle \mathbf{n}_2</math> by <math>\scriptstyle \phi</math>, where <math>\scriptstyle \mathbf{v}_2b</math> is the vector in plane 2 without any <math>\scriptstyle \phi</math> rotation (i.e. lying in the <math>\scriptstyle yz</math> plane):
 
::<math>
 
::<math>
 
\mathbf{v}_{2b} = \begin{bmatrix} 0 & q \cos \alpha \ & q \sin \alpha \end{bmatrix}
 
\mathbf{v}_{2b} = \begin{bmatrix} 0 & q \cos \alpha \ & q \sin \alpha \end{bmatrix}
Line 22: Line 22:
  
 
In general, rotation of a vector <math>\scriptstyle  
 
In general, rotation of a vector <math>\scriptstyle  
\mathbf{v}_{\mathrm{start}} = \begin{bmatrix} x & y  & z \end{bmatrix}</math>about an arbitrary unit-vector <math>\scriptstyle  
+
\mathbf{v}_{\mathrm{start}} = \begin{bmatrix} x & y  & z \end{bmatrix}</math> about an arbitrary unit-vector <math>\scriptstyle  
 
\mathbf{n} = \begin{bmatrix} u & v  & w \end{bmatrix}</math> gives ([https://en.wikipedia.org/wiki/Rotation_matrix#Rotation_matrix_from_axis_and_angle 1], [http://inside.mines.edu/fs_home/gmurray/ArbitraryAxisRotation/ 2]):
 
\mathbf{n} = \begin{bmatrix} u & v  & w \end{bmatrix}</math> gives ([https://en.wikipedia.org/wiki/Rotation_matrix#Rotation_matrix_from_axis_and_angle 1], [http://inside.mines.edu/fs_home/gmurray/ArbitraryAxisRotation/ 2]):
 
::<math>
 
::<math>
Line 49: Line 49:
 
\end{alignat}
 
\end{alignat}
 
</math>
 
</math>
 +
Note that we replace <math>\scriptstyle \phi</math> by <math>\scriptstyle -\phi</math> to force the same orientation convention in the definition of rotating <math>\scriptstyle \mathbf{v}_1</math> and <math>\scriptstyle \mathbf{v}_2</math>:
  
 +
::<math>
 +
\begin{alignat}{2}
 +
\mathbf{v}_{2} & = q \begin{bmatrix} \sin \phi \\
 +
\cos\alpha \cos \phi \\
 +
\sin\alpha \cos \phi\end{bmatrix}
 +
\end{alignat}
 +
</math>
  
 
The angle between <math>\scriptstyle \mathbf{v}_1</math> and <math>\scriptstyle \mathbf{v}_2</math> is <math>\scriptstyle \alpha_r</math>:
 
The angle between <math>\scriptstyle \mathbf{v}_1</math> and <math>\scriptstyle \mathbf{v}_2</math> is <math>\scriptstyle \alpha_r</math>:
Line 55: Line 63:
 
\begin{alignat}{2}
 
\begin{alignat}{2}
 
\cos \alpha_r & = \frac{\mathbf{v}_1 \cdot \mathbf{v}_2}{|\mathbf{v}_1| |\mathbf{v}_2|} \\
 
\cos \alpha_r & = \frac{\mathbf{v}_1 \cdot \mathbf{v}_2}{|\mathbf{v}_1| |\mathbf{v}_2|} \\
  & = \frac{(-q^2 \sin \phi \sin \phi)+(q^2\cos \phi \cos \alpha \cos\phi)+(0)}{(q) (q)} \\
+
  & = \frac{(q^2 \sin \phi \sin \phi)+(q^2\cos \phi \cos \alpha \cos\phi)+(0)}{(q) (q)} \\
  & = - \sin^2 \phi + \cos^2 \phi \cos \alpha \\
+
  & = \sin^2 \phi + \cos^2 \phi \cos \alpha \\
\alpha_r & = \cos^{-1}\left[ \cos^2 \phi \cos \alpha  - \sin^2 \phi \right ]
+
\alpha_r & = \cos^{-1}\left[ \cos^2 \phi \cos \alpha  + \sin^2 \phi \right ]
 
\end{alignat}
 
\end{alignat}
 
</math>
 
</math>

Revision as of 11:09, 22 December 2015

A common problem in scattering is to consider the intersection of various planes (representing the Ewald sphere, reciprocal space, etc.).

Angle between two planes

The general case for the angle between two planes is well known. Consider a particular case where we want to know how the angle between two planes depends on the direction/orientation of a third plane/vector that intersects the first two. I.e. what is the minimal angle between two planes along a 'certain direction' (what is the angle between two vectors that both lie on the third plane, and which lie on planes 1 and 2, respectively).

One of the planes represents reciprocal-space scattering (e.g. mostly localized to a plane); the other represents the detector. We are interested in the angle between them so that we can calculate the distance between them, so that we can compute 'how much' scattering is seen on the detector. To make this concrete, plane 1 lies in the plane, and thus has normal vector:

The first plane intersects the origin. The second plane also intersects the origin, but is tilted about the -axis by , such that its normal is:

We are interested in quantities that are a particular distance () from the origin. Imagine a vector of length lying in plane 1, rotated about the axis by (i.e. the angular distance from the -axis is ):

The second vector () is lying in plane 2. We call the angle between and . The specified geometry uniquely defines in terms of the angle between the planes () and the amount of rotation of the vectors () within their respective planes. In particular, can be thought of as rotated about by , where is the vector in plane 2 without any rotation (i.e. lying in the plane):

In general, rotation of a vector about an arbitrary unit-vector gives (1, 2):

In this particular case, we thus expect:

Note that we replace by to force the same orientation convention in the definition of rotating and :

The angle between and is :

Distance between two planes

The distance between and is :

Alternatively:

If the two vectors do not have equal length: