![]() |
s2let
2.2.0
Fast wavelets on the sphere
|
#include <complex.h>
#include <math.h>
#include <so3/so3.h>
#include <ssht/ssht.h>
#include <stdio.h>
#include <stdlib.h>
#include "s2let.h"
Functions | |
void | s2let_analysis_adjoint_lmn2lm (complex double *flm, const complex double *f_wav_lmn, const complex double *f_scal_lm, const complex double *wav_lm, const double *scal_l, const s2let_parameters_t *parameters) |
void | s2let_analysis_adjoint_lmn2lm_real (complex double *flm, const complex double *f_wav_lmn, const complex double *f_scal_lm, const complex double *wav_lm, const double *scal_l, const s2let_parameters_t *parameters) |
void | s2let_analysis_adjoint_wav2lm_manual (complex double *flm, const complex double *f_wav, const complex double *f_scal, const double *scal_l, const complex double *wav_lm, const int scal_bandlimit, const int *wav_bandlimits, int J, int L, int spin, int N) |
void | s2let_analysis_adjoint_wav2lm (complex double *flm, const complex double *f_wav, const complex double *f_scal, const s2let_parameters_t *parameters) |
void | s2let_analysis_adjoint_wav2lm_real (complex double *flm, const double *f_wav, const double *f_scal, const s2let_parameters_t *parameters) |
void | s2let_analysis_adjoint_wav2px (complex double *f, const complex double *f_wav, const complex double *f_scal, const s2let_parameters_t *parameters) |
void | s2let_analysis_adjoint_wav2px_real (double *f, const double *f_wav, const double *f_scal, const s2let_parameters_t *parameters) |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ More... | |
void s2let_analysis_adjoint_lmn2lm | ( | complex double * | flm, |
const complex double * | f_wav_lmn, | ||
const complex double * | f_scal_lm, | ||
const complex double * | wav_lm, | ||
const double * | scal_l, | ||
const s2let_parameters_t * | parameters | ||
) |
Wavelet analysis adjoint from Wigner space to harmonic space for complex signals.
[out] | flm | Spherical harmonic coefficients of input function. |
[in] | f_wav_lmn | Wavelet transform (Wigner coefficients of wavelet contribution). |
[in] | f_scal_lm | Wavelet transform (spherical harmonic coefficients of scaling contribution). |
[in] | wav_lm | Wavelet kernels. |
[in] | scal_l | Scaling function kernels. |
[in] | parameters | A fully populated parameters object. The reality flag is ignored. Use s2let_synthesis_lmn2lm_real instead for real signals. |
none |
void s2let_analysis_adjoint_lmn2lm_real | ( | complex double * | flm, |
const complex double * | f_wav_lmn, | ||
const complex double * | f_scal_lm, | ||
const complex double * | wav_lm, | ||
const double * | scal_l, | ||
const s2let_parameters_t * | parameters | ||
) |
Wavelet analysis adjoint from Wigner space to harmonic space for real signals.
[out] | flm | Spherical harmonic coefficients of input function. |
[in] | f_wav_lmn | Wavelet transform (Wigner coefficients of wavelet contribution). |
[in] | f_scal_lm | Wavelet transform (spherical harmonic coefficients of scaling contribution). |
[in] | wav_lm | Wavelet kernels. |
[in] | scal_l | Scaling function kernels. |
[in] | parameters | A fully populated parameters object. The reality flag is ignored. Use s2let_synthesis_lmn2lm instead for complex signals. |
none |
void s2let_analysis_adjoint_wav2lm | ( | complex double * | flm, |
const complex double * | f_wav, | ||
const complex double * | f_scal, | ||
const s2let_parameters_t * | parameters | ||
) |
Wavelet analysis adjoint from wavelet space to harmonic space for complex signals.
[out] | flm | Spherical harmonic coefficients of the signal |
[in] | f_wav | Array of wavelets maps |
[in] | f_scal | Scaling function map |
[in] | parameters | A fully populated parameters object. The reality flag is ignored. Use s2let_synthesis_wav2lm_real instead for real signals. |
none |
void s2let_analysis_adjoint_wav2lm_manual | ( | complex double * | flm, |
const complex double * | f_wav, | ||
const complex double * | f_scal, | ||
const double * | scal_l, | ||
const complex double * | wav_lm, | ||
const int | scal_bandlimit, | ||
const int * | wav_bandlimits, | ||
int | J, | ||
int | L, | ||
int | spin, | ||
int | N | ||
) |
Wavelet analysis adjoint from wavelet space to harmonic space for complex signals. with fully manual wavelet tiling, using multiresolution as default with the band-limits provided in input.
[out] | flm | Spherical harmonic coefficients of the signal |
[in] | f_wav | Array of wavelets maps |
[in] | f_scal | Scaling function map |
[in] | scal_l | Array of size L containing the \ell space tiling for the scaling fct. It is only \ell because it is assumed to be axisymmetric. |
[in] | wav_lm | Array of size (J+1)*L*L containing the (\ell, space) harmonic coefs of the wavelets. They can be directional. These must make sense and define a valid invertible transform as no extra checks are performed. |
[in] | scal_bandlimit | Same as wav_bandlimits but only one integer: the band-limit of the scaling function. |
[in] | wav_bandlimits | Array of integers of size J+1 containing the band-limits of the wavelets. Will be used to do the multiresolution. These must make sense and define a valid invertible transform as no extra checks are performed. |
[in] | J | Number of scales in total (in wav_bandlimits) is J+1. |
[in] | L | Band-limit for the transform: defines the size of all awways. |
[in] | spin | Spin (integer) to perform the transform |
[in] | N | Azimuthal band-limit for the directional transform |
none |
void s2let_analysis_adjoint_wav2lm_real | ( | complex double * | flm, |
const double * | f_wav, | ||
const double * | f_scal, | ||
const s2let_parameters_t * | parameters | ||
) |
Wavelet analysis adjoint from wavelet space to harmonic space for real signals.
[out] | flm | Spherical harmonic coefficients of the signal |
[in] | f_wav | Array of wavelets maps |
[in] | f_scal | Scaling function map |
[in] | parameters | A fully populated parameters object. The reality flag is ignored. Use s2let_synthesis_wav2lm instead for complex signals. |
none |
void s2let_analysis_adjoint_wav2px | ( | complex double * | f, |
const complex double * | f_wav, | ||
const complex double * | f_scal, | ||
const s2let_parameters_t * | parameters | ||
) |
Wavelet analysis adjoint from wavelet space to pixel space for complex signals.
[out] | f | Signal on the sphere |
[in] | f_wav | Array of wavelets maps |
[in] | f_scal | Scaling function map |
[in] | parameters | A fully populated parameters object. The reality flag is ignored. Use s2let_synthesis_wav2px_real instead for real signals. |
none |
void s2let_analysis_adjoint_wav2px_real | ( | double * | f, |
const double * | f_wav, | ||
const double * | f_scal, | ||
const s2let_parameters_t * | parameters | ||
) |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wavelet synthesis from wavelet space to pixel space for real signals.
[out] | f | Signal on the sphere |
[in] | f_wav | Array of wavelets maps |
[in] | f_scal | Scaling function map |
[in] | parameters | A fully populated parameters object. The reality flag is ignored. Use s2let_synthesis_wav2px instead for complex signals. |
none |