pangeo_fish.healpy.astronomic_to_cartesian#
- pangeo_fish.healpy.astronomic_to_cartesian(theta, phi, dim='receiver_id')#
Transform astronomic coordinates to cartesian coordinates
- Parameters:
theta (array-like) – astronomic colatitude, in degrees
phi (array-like) – astronomic longitude, in degrees
dim (hashable) – Name of the dimension
- Returns:
cartesian (
xarray.Dataset) – Cartesian coordinates
See also
healpy.ang2vec