xarray_vectors
File Purpose: tools related to xarray vector arithmetic along ‘component’ dimension,
Functions
|
return proper BasisXYZ to use. |
return angle between +xhat and A, in the xy plane, in radians. |
|
|
return unit vector u, given angle [radians] between +xhat and u in the xy plane. |
|
return x component of A cross B, given A and B which have values for y and z 'component'. |
|
return cross product of vectors A and B, along dimension 'component'. |
|
return dot product of vectors A and B, assuming vector components along the dimension 'component'. |
|
return vector with components x, y, z along 'component' dimension. |
|
return vector magnitude of A, assuming vector components along the dimension 'component'. |
|
return the component of A parallel to B. |
|
return the magnitude of the component of A parallel to B. |
|
return the component of A perpendicular to B. |
|
return the magnitude of the component of A perpendicular to B. |
return root mean squared of components of A. |
|
|
return the component of A parallel to B. |
|
return the component of A perpendicular to B. |
|
return [Ax, Ay, Az] from selecting 'x', 'y', 'z' along 'component' dimension. |
return a unit vector in the direction of A. |
Classes
|
simple class to hold X, Y, Z component details. |