sharp_legendre_table: Import Legendre table generating code from libpsht

Includes a Python wrapper. The code is tested and compared with SciPy
results through the Python tests.
This commit is contained in:
Dag Sverre Seljebotn 2017-05-18 22:41:19 +02:00
parent 0787838ab3
commit a93db0b1aa
9 changed files with 1616 additions and 5 deletions

View file

@ -59,6 +59,9 @@ cdef extern from "sharp.h":
sharp_alm_info *alm_info, int ntrans, int flags, double *time,
unsigned long long *opcnt) nogil
void sharp_normalized_associated_legendre_table(int m, int lmax, int ntheta,
double *theta, int ncols, double *out) nogil
cdef extern from "sharp_geomhelpers.h":
void sharp_make_subset_healpix_geom_info(
@ -76,4 +79,3 @@ cdef extern from "sharp_almhelpers.h":
void sharp_make_mmajor_real_packed_alm_info (int lmax, int stride,
int nm, const int *ms, sharp_alm_info **alm_info)