cdshealpix-0.8.1
توضیحات
A healpix manipulation library.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cdshealpix-0.8.1 |
| نام | cdshealpix |
| نسخه کتابخانه | 0.8.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/cds-astro/cds-healpix-python |
| آدرس اینترنتی | https://pypi.org/project/cdshealpix/ |
| مجوز | - |
# CDSHealpix
[](https://github.com/cds-astro/cds-healpix-python/actions/workflows/test.yml)
[](https://github.com/cds-astro/cds-healpix-python/actions/workflows/deploy_pypi.yml)
[](https://badge.fury.io/py/cdshealpix)
[](https://cds-astro.github.io/cds-healpix-python/)
This is a BSD-licensed HEALPix package which is wrapped around the [cdshealpix Rust crate](https://github.com/cds-astro/cds-healpix-rust).
[cdshealpix](https://pypi.org/project/cdshealpix/) is multi-platform and is currently deployed on PyPI for i686, x86_64 and aarch64 archs.
```bash
pip install cdshealpix
```
Or
```bash
conda install -c conda-forge cdshealpix
```
Reminder on conda activation/deactivation:
```bash
conda config --set auto_activate_base false
conda activate base
conda deactivate
```
Test:
```python
import cdshealpix
from cdshealpix import healpix_to_lonlat
lon, lat = healpix_to_lonlat(0, 0)
assert lon.rad[0] == 0.7853981633974483
```
## Features
* [Nested and Ring HEALPix notation](https://cds-astro.github.io/cds-healpix-python/api.html#cdshealpix) supported
* [Cone search](https://cds-astro.github.io/cds-healpix-python/stubs/cdshealpix.nested.cone_search.html#cdshealpix.nested.cone_search)
* [Elliptical-Cone search](https://cds-astro.github.io/cds-healpix-python/stubs/cdshealpix.nested.elliptical_cone_search.html#cdshealpix.nested.elliptical_cone_search)
* [Polygon search](https://cds-astro.github.io/cds-healpix-python/stubs/cdshealpix.nested.polygon_search.html#cdshealpix.nested.polygon_search)
* [Bilinear interpolation](https://cds-astro.github.io/cds-healpix-python/stubs/cdshealpix.nested.bilinear_interpolation.html#cdshealpix.nested.bilinear_interpolation)
* [lonlat_to_healpix](https://cds-astro.github.io/cds-healpix-python/stubs/cdshealpix.nested.lonlat_to_healpix.html#cdshealpix.nested.lonlat_to_healpix) and [healpix_to_lonlat](https://cds-astro.github.io/cds-healpix-python/stubs/cdshealpix.nested.healpix_to_lonlat.html#cdshealpix.nested.healpix_to_lonlat) supports numpy broadcasting
* Rust allows easy concurrency. A ``num_threads`` optional parameter can be used to allow parallelism. By default, concurrency is disabled.
* Get the [world vertices corresponding to an HEALPix cell](https://cds-astro.github.io/cds-healpix-python/stubs/cdshealpix.nested.vertices.html#cdshealpix.nested.vertices)
* Get the [neighbours of an HEALPix cell](https://cds-astro.github.io/cds-healpix-python/stubs/cdshealpix.nested.neighbours.html#cdshealpix.nested.neighbours)
## Documentation
Here is the link to the [documentation](https://cds-astro.github.io/cds-healpix-python/) for informations about how to use this package.
نیازمندی
| مقدار | نام |
|---|---|
| ython_full_versio | astropy<5.3; |
| ython_full_versio | astropy; |
| xtr | matplotlib; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl cdshealpix-0.8.1:
pip install cdshealpix-0.8.1.whl
نصب پکیج tar.gz cdshealpix-0.8.1:
pip install cdshealpix-0.8.1.tar.gz