vector2xy#

classmethod LambertProjection.vector2xy(v: Union[Vector3d, ndarray]) ndarray[source]#

Convert vector(s) from Cartesian to the Lambert projection.

Parameters:
v

Vectors of any shape as long as the last dimension is (3,).

Returns:
xy

Vectors in the square Lambert projection, of the same shape as the input vectors, with the last dimension as (2,).