PEARL Procedures
rev-distro-3.0.0-0-gfa24916-dirty
Igor procedures for the analysis of PEARL data
|
basic vector geometry operations. More...
Go to the source code of this file.
Namespaces | |
PearlVectorOperations | |
basic vector geometry operations. | |
Functions | |
variable | rotate2d_x (variable xx, variable yy, variable angle) |
rotate a 2D cartesian vector and returns its x component. More... | |
variable | rotate2d_y (variable xx, variable yy, variable angle) |
rotate a 2D cartesian vector and returns its y component. More... | |
wave | create_rotation_matrix_free () |
create a free matrix wave which represents the 3-vector identity. More... | |
wave | set_rotation_x (wave matrix, variable angle) |
calculate a matrix representing a 3-vector rotation around the x axis. More... | |
wave | set_rotation_y (wave matrix, variable angle) |
calculate a matrix representing a 3-vector rotation around the y axis More... | |
wave | set_rotation_z (wave matrix, variable angle) |
calculate a matrix representing a 3-vector rotation around the z axis More... | |
variable | rotate_x_wave (wave inout, variable angle) |
rotate a wave of 3-vectors about the x axis. More... | |
variable | rotate_y_wave (wave inout, variable angle) |
rotates a wave of 3-vectors about the y axis More... | |
variable | rotate_z_wave (wave inout, variable angle) |
rotates a wave of 3-vectors about the z axis More... | |
basic vector geometry operations.
this procedure file contains basic vector geometry functions, such as rotations.
Definition in file pearl-vector-operations.ipf.
wave create_rotation_matrix_free | ( | ) |
create a free matrix wave which represents the 3-vector identity.
the matrix is initialized as identity.
Definition at line 74 of file pearl-vector-operations.ipf.
variable rotate2d_x | ( | variable | xx, |
variable | yy, | ||
variable | angle | ||
) |
rotate a 2D cartesian vector and returns its x component.
xx | x coordinate. |
yy | y coordinate. |
angle | rotation angle in degrees. |
Definition at line 46 of file pearl-vector-operations.ipf.
variable rotate2d_y | ( | variable | xx, |
variable | yy, | ||
variable | angle | ||
) |
rotate a 2D cartesian vector and returns its y component.
xx | x coordinate. |
yy | y coordinate. |
angle | rotation angle in degrees. |
Definition at line 61 of file pearl-vector-operations.ipf.
variable rotate_x_wave | ( | wave | inout, |
variable | angle | ||
) |
rotate a wave of 3-vectors about the x axis.
this function rotates multiple vectors.
[in,out] | inout | wave with dimensions (M, N), M >= 3 (x, y, z), N >= 1. the result will be in same wave. only the first three rows of dimension 0 are used, extra rows are left unchanged. |
[in] | angle | rotation angle in degrees. |
Definition at line 176 of file pearl-vector-operations.ipf.
variable rotate_y_wave | ( | wave | inout, |
variable | angle | ||
) |
rotates a wave of 3-vectors about the y axis
this function rotates multiple vectors.
[in,out] | inout | wave with dimensions (M, N), M >= 3 (x, y, z), N >= 1. the result will be in same wave. only the first three rows of dimension 0 are used, extra rows are left unchanged. |
[in] | angle | rotation angle in degrees. |
Definition at line 205 of file pearl-vector-operations.ipf.
variable rotate_z_wave | ( | wave | inout, |
variable | angle | ||
) |
rotates a wave of 3-vectors about the z axis
this function rotates multiple vectors.
[in,out] | inout | wave with dimensions (M, N), M >= 3 (x, y, z), N >= 1. the result will be in same wave. only the first three rows of dimension 0 are used, extra rows are left unchanged. |
[in] | angle | rotation angle in degrees. |
Definition at line 234 of file pearl-vector-operations.ipf.
wave set_rotation_x | ( | wave | matrix, |
variable | angle | ||
) |
calculate a matrix representing a 3-vector rotation around the x axis.
the function calculates the matrix elements of a rotation about the x axis.
[in,out] | matrix | 3x3 wave to receive the rotation matrix elements. the function calculates only the 2x2 block of the rotation. the other elements must be initialized by the caller, e.g. set to the identity matrix. |
[in] | angle | rotation angle in degrees. |
Definition at line 93 of file pearl-vector-operations.ipf.
wave set_rotation_y | ( | wave | matrix, |
variable | angle | ||
) |
calculate a matrix representing a 3-vector rotation around the y axis
the function calculates the matrix elements of a rotation about the y axis.
[in,out] | matrix | 3x3 wave to receive the rotation matrix elements. the function calculates only the 2x2 block of the rotation. the other elements must be initialized by the caller, e.g. set to the identity matrix. |
[in] | angle | rotation angle in degrees. |
Definition at line 121 of file pearl-vector-operations.ipf.
wave set_rotation_z | ( | wave | matrix, |
variable | angle | ||
) |
calculate a matrix representing a 3-vector rotation around the z axis
the function calculates the matrix elements of a rotation about the z axis.
[in,out] | matrix | 3x3 wave to receive the rotation matrix elements. the function calculates only the 2x2 block of the rotation. the other elements must be initialized by the caller, e.g. set to the identity matrix. |
[in] | angle | rotation angle in degrees. |
Definition at line 149 of file pearl-vector-operations.ipf.