cds-astro / cds-healpix-python

cdshealpix python package
https://cds-astro.github.io/cds-healpix-python/
BSD 3-Clause "New" or "Revised" License
6 stars 3 forks source link

CDSHealpix

Build Status Deploy status PyPI version Documentation

This is a BSD-licensed HEALPix package which is wrapped around the cdshealpix Rust crate.

cdshealpix is multi-platform and is currently deployed on PyPI for i686, x86_64 and aarch64 archs.

pip install cdshealpix

Or

conda install -c conda-forge cdshealpix

Reminder on conda activation/deactivation:

conda config --set auto_activate_base false
conda activate base
conda deactivate

Test:

import cdshealpix
from cdshealpix import healpix_to_lonlat
lon, lat = healpix_to_lonlat(0, 0)
assert lon.rad[0] == 0.7853981633974483

Features

Documentation

Here is the link to the documentation for informations about how to use this package.