Go to file
2024-11-02 11:40:35 +02:00
ext_src fix: use of noexcept 2024-11-01 17:41:00 +02:00
src/sphereproj chore: add support for semantic-release 2024-11-02 10:50:09 +02:00
.gitignore fix: python compile and install 2024-11-01 17:21:35 +02:00
CHANGELOG.md 0.0.2 2024-11-02 11:19:10 +02:00
MANIFEST.in fix: packaged data still wrong 2024-11-01 17:34:19 +02:00
new_release.sh chore: add support for semantic-release 2024-11-02 10:50:09 +02:00
pyproject.toml chore: semantic release tweaks 2024-11-02 11:40:35 +02:00
README.md major: Initial release. add example 2024-11-02 11:34:38 +02:00
setup.py fix: declare numpy as dependency 2024-11-01 16:44:43 +01:00

PySphereProj

This is a simple package made of 3d interpolators (CIC based) and 3d to healpix projector.

Everything is contained in the package sphereproj.

Here is a short example for spherical projection:


import sphereproj
import numpy as np

N = 256
Nside=128
rho = np.random.randn(N,N,N)

result = sphereproj.spherical_projection(Nside, density, 0, 128, integrator_id=1)
# min_distance, max_distance, progress=1, integrator_id=0, shifter=None, booster=-1)