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

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)
 

Function Documentation

◆ s2let_lm_power()

double s2let_lm_power ( complex double *  flm,
int  L 
)

Compute power for a signal in harmonic space.

◆ s2let_lm_random_flm()

void s2let_lm_random_flm ( complex double *  flm,
int  L,
int  spin,
int  seed 
)

Generate random harmonic coefficients for a complex map.

Parameters
[out]flmHarmonic coefficients.
[in]LBand-limit. \parma[in] spin Spin number.
[in]seedRandom seed.
Return values
none

◆ s2let_lm_random_flm_real()

void s2let_lm_random_flm_real ( complex double *  flm,
int  L,
int  seed 
)

Generate random harmonic coefficients corresponding to a real map.

Parameters
[out]flmHarmonic coefficients.
[in]LBand-limit.
[in]seedRandom seed.
Return values
none