![]() |
s2let
2.2.0
Fast wavelets on the sphere
|
#include <complex.h>#include <math.h>#include <so3/so3.h>#include <ssht/ssht.h>#include <stdlib.h>#include <time.h>#include "s2let.h"
Functions | |
| double | s2let_lm_power (complex double *flm, int L) |
| void | s2let_lm_random_flm (complex double *flm, int L, int spin, int seed) |
| void | s2let_lm_random_flm_real (complex double *flm, int L, int seed) |
| double s2let_lm_power | ( | complex double * | flm, |
| int | L | ||
| ) |
Compute power for a signal in harmonic space.
| void s2let_lm_random_flm | ( | complex double * | flm, |
| int | L, | ||
| int | spin, | ||
| int | seed | ||
| ) |
Generate random harmonic coefficients for a complex map.
| [out] | flm | Harmonic coefficients. |
| [in] | L | Band-limit. \parma[in] spin Spin number. |
| [in] | seed | Random seed. |
| none |
| void s2let_lm_random_flm_real | ( | complex double * | flm, |
| int | L, | ||
| int | seed | ||
| ) |
Generate random harmonic coefficients corresponding to a real map.
| [out] | flm | Harmonic coefficients. |
| [in] | L | Band-limit. |
| [in] | seed | Random seed. |
| none |