s2let  2.2.0
Fast wavelets on the sphere
Functions
s2let_hpx.h File Reference
#include <complex.h>
#include <ssht/ssht.h>
Include dependency graph for s2let_hpx.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void s2let_hpx_alm2map_spin_real (double *fQ, double *fU, const S2LET_COMPLEX(double) *flmE, const S2LET_COMPLEX(double) *flmB, int nside, int L, int spin)
 
void s2let_hpx_map2alm_spin_real (S2LET_COMPLEX(double) *flmE, S2LET_COMPLEX(double) *flmB, const double *fQ, const double *fU, int nside, int L, int spin)
 
void s2let_hpx_alm2map_real (double *f, const S2LET_COMPLEX(double) *flm, int nside, int L)
 
void s2let_hpx_map2alm_real (S2LET_COMPLEX(double) *flm, const double *f, int nside, int L)
 
void s2let_hpx_read_map (double *f, char *file, int nside)
 
void s2let_hpx_read_maps (double *f, char *file, int nside, int nmaps)
 
void s2let_hpx_write_map (char *file, const double *f, int nside)
 
void s2let_hpx_allocate_real (double **f, int nside)
 

Function Documentation

◆ s2let_hpx_allocate_real()

void s2let_hpx_allocate_real ( double **  f,
int  nside 
)

Allocate Healpix map.

Parameters
[in,out]fhealpix map.
[in]nsideHealpix resolution.
Return values
none

◆ s2let_hpx_alm2map_real()

void s2let_hpx_alm2map_real ( double *  f,
const S2LET_COMPLEX(double) *  flm,
int  nside,
int  L 
)

Restore real healpix map from spherical harmonic coefficients. Interface for HEALPIX Fortran code alm2map.

Parameters
[out]fOutput healpix map.
[in]flmSpherical harmonic coefficients.
[in]nsideHealpix resolution of the output map.
[in]LAngular harmonic band-limit.
Return values
none

◆ s2let_hpx_alm2map_spin_real()

void s2let_hpx_alm2map_spin_real ( double *  fQ,
double *  fU,
const S2LET_COMPLEX(double) *  flmE,
const S2LET_COMPLEX(double) *  flmB,
int  nside,
int  L,
int  spin 
)

Restore real healpix map from spherical harmonic coefficients. Interface for HEALPIX Fortran code alm2map.

Parameters
[out]fOutput healpix map.
[in]flmSpherical harmonic coefficients.
[in]nsideHealpix resolution of the output map.
[in]LAngular harmonic band-limit.
Return values
none

◆ s2let_hpx_map2alm_real()

void s2let_hpx_map2alm_real ( S2LET_COMPLEX(double) *  flm,
const double *  f,
int  nside,
int  L 
)

Compute spherical harmonic coefficients of a real healpix map. Interface for HEALPIX Fortran code map2alm.

Parameters
[out]flmSpherical harmonic coefficients.
[in]fInput healpix map.
[in]nsideHealpix resolution of the output map.
[in]LAngular harmonic band-limit.
Return values
none

◆ s2let_hpx_map2alm_spin_real()

void s2let_hpx_map2alm_spin_real ( S2LET_COMPLEX(double) *  flmE,
S2LET_COMPLEX(double) *  flmB,
const double *  fQ,
const double *  fU,
int  nside,
int  L,
int  spin 
)

Compute spherical harmonic coefficients of a real healpix map. Interface for HEALPIX Fortran code map2alm.

Parameters
[out]flmSpherical harmonic coefficients.
[in]fInput healpix map.
[in]nsideHealpix resolution of the output map.
[in]LAngular harmonic band-limit.
Return values
none

◆ s2let_hpx_read_map()

void s2let_hpx_read_map ( double *  f,
char *  file,
int  nside 
)

Read Healpix map from a FITS file. Interface for HEALPIX Fortran code read_bintab.

Parameters
[out]fInput healpix map.
[in]fileFilename.
[in]nsideHealpix resolution of the output map.
Return values
none

◆ s2let_hpx_read_maps()

void s2let_hpx_read_maps ( double *  f,
char *  file,
int  nside,
int  nmaps 
)

◆ s2let_hpx_write_map()

void s2let_hpx_write_map ( char *  file,
const double *  f,
int  nside 
)

Write Healpix map to a FITS file. Interface for HEALPIX Fortran code write_bintab.

Parameters
[in]fileFilename.
[in]fInput healpix map.
[in]nsideHealpix resolution of the output map.
Return values
none