vector2xy_split#
- static StereographicProjection.vector2xy_split(v: Vector3d) Tuple[ndarray, ndarray, ndarray, ndarray] [source]#
Return two sets of stereographic coordinates (X, Y) from 3D unit vectors: one set for vectors in the upper hemisphere, and one for the lower.
- Parameters:
- v
If it is not a unit vector, it will be made into one.
- Returns:
x_upper
Stereographic coordinate X of upper hemisphere vectors, of shape same shape as the input vector shape.
y_upper
Stereographic coordinate Y of upper hemisphere vectors, of shape same shape as the input vector shape.
x_lower
Stereographic coordinate X of lower hemisphere vectors, of shape same shape as the input vector shape.
y_lower
Stereographic coordinate Y of lower hemisphere vectors, of shape same shape as the input vector shape.
See also