Ssht
1.3.3
Fast and exact spin spherical harmonic transforms
|
Go to the documentation of this file.
67 static inline void ssht_sampling_elm2ind(
int *ind,
int el,
int m) {
69 *ind = el * el + el + m;
90 static inline void ssht_sampling_ind2elm(
int *el,
int *m,
int ind) {
92 *el = lrint(floor(sqrt(ind)));
93 *m = ind - (*el)*(*el) - (*el);
ssht_complex_double ssht_sampling_weight_mw(int p)
Definition: ssht_sampling.c:35
double ssht_sampling_gl_p2phi(int p, int L)
Definition: ssht_sampling.c:457
int ssht_sampling_mw_ss_ntheta(int L)
Definition: ssht_sampling.c:286
int ssht_sampling_dh_nphi(int L)
Definition: ssht_sampling.c:408
double ssht_sampling_mw_t2theta(int t, int L)
Definition: ssht_sampling.c:195
int ssht_sampling_gl_nphi(int L)
Definition: ssht_sampling.c:472
double ssht_sampling_dh_t2theta(int t, int L)
Definition: ssht_sampling.c:359
double complex ssht_complex_double
Definition: ssht_types.h:53
int ssht_sampling_mw_n(int L)
Definition: ssht_sampling.c:247
double ssht_sampling_dh_p2phi(int p, int L)
Definition: ssht_sampling.c:393
double ssht_sampling_weight_dh(double theta_t, int L)
Definition: ssht_sampling.c:63
int ssht_sampling_mw_ss_nphi(int L)
Definition: ssht_sampling.c:321
int ssht_sampling_dh_ntheta(int L)
Definition: ssht_sampling.c:374
void ssht_sampling_gl_thetas_weights(double *thetas, double *weights, int L)
Definition: ssht_sampling.c:92
int ssht_sampling_gl_n(int L)
Definition: ssht_sampling.c:487
int ssht_sampling_mw_ntheta(int L)
Definition: ssht_sampling.c:176
double ssht_sampling_mw_p2phi(int p, int L)
Definition: ssht_sampling.c:229
double ssht_sampling_mw_ss_p2phi(int p, int L)
Definition: ssht_sampling.c:305
double ssht_sampling_mw_ss_t2theta(int t, int L)
Definition: ssht_sampling.c:267
int ssht_sampling_mw_ss_n(int L)
Definition: ssht_sampling.c:340
int ssht_sampling_mw_nphi(int L)
Definition: ssht_sampling.c:210
int ssht_sampling_gl_ntheta(int L)
Definition: ssht_sampling.c:438
int ssht_sampling_dh_n(int L)
Definition: ssht_sampling.c:423