![]() |
s2let
2.2.0
Fast wavelets on the sphere
|
Enumerations | |
enum | s2let_kernel_type { S2DW, NEEDLET, SPLINE } |
Functions | |
void | s2let_switch_wavtype (int typenum) |
int | s2let_bandlimit (int j, const s2let_parameters_t *parameters) |
int | s2let_L0 (int j, const s2let_parameters_t *parameters) |
int | s2let_j_max (const s2let_parameters_t *parameters) |
void | s2let_tiling_axisym_allocate (double **kappa, double **kappa0, const s2let_parameters_t *parameters) |
void | s2let_tiling_phi2_s2dw (double *phi2, const s2let_parameters_t *parameters) |
void | s2let_tiling_phi2_needlet (double *phi2, const s2let_parameters_t *parameters) |
void | s2let_tiling_phi2_spline (double *phi2, const s2let_parameters_t *parameters) |
void | s2let_tiling_axisym (double *kappa, double *kappa0, const s2let_parameters_t *parameters) |
void | s2let_tiling_direction_allocate (complex double **s_elm, const s2let_parameters_t *parameters) |
void | s2let_tiling_direction (complex double *s_elm, const s2let_parameters_t *parameters) |
void | s2let_tiling_wavelet_allocate (complex double **psi, double **phi, const s2let_parameters_t *parameters) |
void | s2let_tiling_wavelet (complex double *psi, double *phi, const s2let_parameters_t *parameters) |
double | s2let_tiling_axisym_check_identity (double *kappa, double *kappa0, const s2let_parameters_t *parameters) |
double | s2let_tiling_direction_check_identity (complex double *s_elm, const s2let_parameters_t *parameters) |
double | s2let_tiling_wavelet_check_identity (complex double *psi, double *phi, const s2let_parameters_t *parameters) |
Variables | |
s2let_kernel_type | s2let_kernel = S2DW |
enum s2let_kernel_type |
int s2let_bandlimit | ( | int | j, |
const s2let_parameters_t * | parameters | ||
) |
int s2let_j_max | ( | const s2let_parameters_t * | parameters | ) |
int s2let_L0 | ( | int | j, |
const s2let_parameters_t * | parameters | ||
) |
Computes the minimum harmonic index supported by the given wavelet scale.
[in] | j | Wavelet scale. |
[in] | parameters | A parameters object with (at least) the following fields: B |
el_min |
void s2let_switch_wavtype | ( | int | typenum | ) |
Switch to different wavelet type.
[in] | typenum | Integer: 1 for scale-discretised, 2 for needlets and 3 for spline wavelets. |
none |
void s2let_tiling_axisym | ( | double * | kappa, |
double * | kappa0, | ||
const s2let_parameters_t * | parameters | ||
) |
void s2let_tiling_axisym_allocate | ( | double ** | kappa, |
double ** | kappa0, | ||
const s2let_parameters_t * | parameters | ||
) |
double s2let_tiling_axisym_check_identity | ( | double * | kappa, |
double * | kappa0, | ||
const s2let_parameters_t * | parameters | ||
) |
Checks exactness of the harmonic tiling kernels by checking the admissibility condition.
[in] | kappa | Kernel functions for the wavelets. |
[in] | kappa0 | Kernel for the scaling function. |
[in] | parameters | A parameters object with (at least) the following fields: B, L, J_min |
Achieved | accuracy (should be lower than e-14). |
void s2let_tiling_direction | ( | complex double * | s_elm, |
const s2let_parameters_t * | parameters | ||
) |
Generates the harmonic coefficients for the directionality component of the tiling functions. This implementation is based on equation (11) in the wavelet computation paper.
void s2let_tiling_direction_allocate | ( | complex double ** | s_elm, |
const s2let_parameters_t * | parameters | ||
) |
double s2let_tiling_direction_check_identity | ( | complex double * | s_elm, |
const s2let_parameters_t * | parameters | ||
) |
void s2let_tiling_phi2_needlet | ( | double * | phi2, |
const s2let_parameters_t * | parameters | ||
) |
void s2let_tiling_phi2_s2dw | ( | double * | phi2, |
const s2let_parameters_t * | parameters | ||
) |
void s2let_tiling_phi2_spline | ( | double * | phi2, |
const s2let_parameters_t * | parameters | ||
) |
void s2let_tiling_wavelet | ( | complex double * | psi, |
double * | phi, | ||
const s2let_parameters_t * | parameters | ||
) |
Generates the harmonic coefficients for the directional tiling wavelets. This implementation is based on equation (7) in the wavelet computation paper.
void s2let_tiling_wavelet_allocate | ( | complex double ** | psi, |
double ** | phi, | ||
const s2let_parameters_t * | parameters | ||
) |
Allocates space for directional wavelets in harmonic space.
[out] | psi | Pointer to allocated space for harmonic coefficients of directional wavelets. |
[out] | phi | Pointer to allocated space for harmonic coefficients of scaling function. |
[in] | parameters | A parameters object with (at least) the following fields: B L, N |
none |
double s2let_tiling_wavelet_check_identity | ( | complex double * | psi, |
double * | phi, | ||
const s2let_parameters_t * | parameters | ||
) |
Checks exactness of the directional wavelets by checking the admissibility condition.
[in] | psi | Harmonic coefficients of directional wavelets. |
[in] | phi | Harmonic coefficients of scaling function. |
[in] | parameters | A parameters object with (at least) the following fields: B, L, J_min N spin |
Achieved | accuracy (should be lower than e-14). |
s2let_kernel_type s2let_kernel = S2DW |