s2let  2.2.0
Fast wavelets on the sphere
Functions
s2let_synthesis.c File Reference
#include <complex.h>
#include <math.h>
#include <so3/so3.h>
#include <ssht/ssht.h>
#include <stdio.h>
#include <stdlib.h>
#include "s2let.h"
Include dependency graph for s2let_synthesis.c:

Functions

void s2let_synthesis_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_synthesis_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_synthesis_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_synthesis_wav2lm (complex double *flm, const complex double *f_wav, const complex double *f_scal, const s2let_parameters_t *parameters)
 
void s2let_synthesis_wav2lm_real (complex double *flm, const double *f_wav, const double *f_scal, const s2let_parameters_t *parameters)
 
void s2let_synthesis_wav2px (complex double *f, const complex double *f_wav, const complex double *f_scal, const s2let_parameters_t *parameters)
 
void s2let_synthesis_wav2px_real (double *f, const double *f_wav, const double *f_scal, const s2let_parameters_t *parameters)
 

Function Documentation

◆ s2let_synthesis_lmn2lm()

void s2let_synthesis_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 synthesis from Wigner space to harmonic space for complex signals.

Parameters
[out]flmSpherical harmonic coefficients of input function.
[in]f_wav_lmnWavelet transform (Wigner coefficients of wavelet contribution).
[in]f_scal_lmWavelet transform (spherical harmonic coefficients of scaling contribution).
[in]wav_lmWavelet kernels.
[in]scal_lScaling function kernels.
[in]parametersA fully populated parameters object. The reality flag is ignored. Use s2let_synthesis_lmn2lm_real instead for real signals.
Return values
none

◆ s2let_synthesis_lmn2lm_real()

void s2let_synthesis_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 synthesis from Wigner space to harmonic space for real signals.

Parameters
[out]flmSpherical harmonic coefficients of input function.
[in]f_wav_lmnWavelet transform (Wigner coefficients of wavelet contribution).
[in]f_scal_lmWavelet transform (spherical harmonic coefficients of scaling contribution).
[in]wav_lmWavelet kernels.
[in]scal_lScaling function kernels.
[in]parametersA fully populated parameters object. The reality flag is ignored. Use s2let_synthesis_lmn2lm instead for complex signals.
Return values
none

◆ s2let_synthesis_wav2lm()

void s2let_synthesis_wav2lm ( complex double *  flm,
const complex double *  f_wav,
const complex double *  f_scal,
const s2let_parameters_t parameters 
)

Wavelet synthesis from wavelet space to harmonic space for complex signals.

Parameters
[out]flmSpherical harmonic coefficients of the signal
[in]f_wavArray of wavelets maps
[in]f_scalScaling function map
[in]parametersA fully populated parameters object. The reality flag is ignored. Use s2let_synthesis_wav2lm_real instead for real signals.
Return values
none

◆ s2let_synthesis_wav2lm_manual()

void s2let_synthesis_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 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.

Parameters
[out]flmSpherical harmonic coefficients of the signal
[in]f_wavArray of wavelets maps
[in]f_scalScaling function map
[in]scal_lArray 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_lmArray 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_bandlimitSame as wav_bandlimits but only one integer: the band-limit of the scaling function.
[in]wav_bandlimitsArray 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]JNumber of scales in total (in wav_bandlimits) is J+1.
[in]LBand-limit for the transform: defines the size of all awways.
[in]spinSpin (integer) to perform the transform
[in]NAzimuthal band-limit for the directional transform
Return values
none

◆ s2let_synthesis_wav2lm_real()

void s2let_synthesis_wav2lm_real ( complex double *  flm,
const double *  f_wav,
const double *  f_scal,
const s2let_parameters_t parameters 
)

Wavelet synthesis from wavelet space to harmonic space for real signals.

Parameters
[out]flmSpherical harmonic coefficients of the signal
[in]f_wavArray of wavelets maps
[in]f_scalScaling function map
[in]parametersA fully populated parameters object. The reality flag is ignored. Use s2let_synthesis_wav2lm instead for complex signals.
Return values
none

◆ s2let_synthesis_wav2px()

void s2let_synthesis_wav2px ( complex double *  f,
const complex double *  f_wav,
const complex double *  f_scal,
const s2let_parameters_t parameters 
)

Wavelet synthesis from wavelet space to pixel space for complex signals.

Parameters
[out]fSignal on the sphere
[in]f_wavArray of wavelets maps
[in]f_scalScaling function map
[in]parametersA fully populated parameters object. The reality flag is ignored. Use s2let_synthesis_wav2px_real instead for real signals.
Return values
none

◆ s2let_synthesis_wav2px_real()

void s2let_synthesis_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.

Parameters
[out]fSignal on the sphere
[in]f_wavArray of wavelets maps
[in]f_scalScaling function map
[in]parametersA fully populated parameters object. The reality flag is ignored. Use s2let_synthesis_wav2px instead for complex signals.
Return values
none