https://github.com/xzackli/example_libsharp_c
libsharp example usage
https://github.com/xzackli/example_libsharp_c
Last synced: 3 months ago
JSON representation
libsharp example usage
- Host: GitHub
- URL: https://github.com/xzackli/example_libsharp_c
- Owner: xzackli
- License: apache-2.0
- Created: 2020-03-17T13:48:54.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-17T21:50:20.000Z (about 5 years ago)
- Last Synced: 2025-03-08T05:46:19.844Z (3 months ago)
- Language: C
- Homepage:
- Size: 11.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LibSharp Example (C)
This example code demonstrates how to set up and perform map2alm using LibSharp on a Healpix grid.
This uses the [GitLab](https://gitlab.mpcdf.mpg.de/mtr/libsharp/tree/master) version. You can test the output of this code against
```python
import healpy as hp
import numpy as nphp.map2alm( 2*np.ones(hp.nside2npix(4)), lmax=4, mmax=4, iter=0 )
```