LevelS SHT library
3.50
|
Functions | |
void | sharp_make_subset_healpix_geom_info (int nside, int stride, int nrings, const int *rings, const double *weight, sharp_geom_info **geom_info) |
void | sharp_make_weighted_healpix_geom_info (int nside, int stride, const double *weight, sharp_geom_info **geom_info) |
void | sharp_make_gauss_geom_info (int nrings, int nphi, double phi0, int stride_lon, int stride_lat, sharp_geom_info **geom_info) |
void | sharp_make_fejer1_geom_info (int nrings, int nphi, double phi0, int stride_lon, int stride_lat, sharp_geom_info **geom_info) |
void | sharp_make_cc_geom_info (int nrings, int ppring, double phi0, int stride_lon, int stride_lat, sharp_geom_info **geom_info) |
void | sharp_make_fejer2_geom_info (int nrings, int ppring, double phi0, int stride_lon, int stride_lat, sharp_geom_info **geom_info) |
void | sharp_make_mw_geom_info (int nrings, int ppring, double phi0, int stride_lon, int stride_lat, sharp_geom_info **geom_info) |
void | sharp_make_geom_info (int nrings, const int *nph, const ptrdiff_t *ofs, const int *stride, const double *phi0, const double *theta, const double *wgt, sharp_geom_info **geom_info) |
ptrdiff_t | sharp_map_size (const sharp_geom_info *info) |
void | sharp_destroy_geom_info (sharp_geom_info *info) |
void sharp_make_subset_healpix_geom_info | ( | int | nside, |
int | stride, | ||
int | nrings, | ||
const int * | rings, | ||
const double * | weight, | ||
sharp_geom_info ** | geom_info | ||
) |
Creates a geometry information describing a HEALPix map with an Nside parameter nside. weight contains the relative ring weights and must have 2*nside entries. The rings array contains the indices of the rings, with 1 being the first ring at the north pole; if NULL then we take them to be sequential. Pass 4 * nside - 1 as nrings and NULL to rings to get the full HEALPix grid.
Definition at line 38 of file sharp_geomhelpers.c.
void sharp_make_weighted_healpix_geom_info | ( | int | nside, |
int | stride, | ||
const double * | weight, | ||
sharp_geom_info ** | geom_info | ||
) |
Creates a geometry information describing a HEALPix map with an Nside parameter nside. weight contains the relative ring weights and must have 2*nside entries.
Definition at line 102 of file sharp_geomhelpers.c.
void sharp_make_gauss_geom_info | ( | int | nrings, |
int | nphi, | ||
double | phi0, | ||
int | stride_lon, | ||
int | stride_lat, | ||
sharp_geom_info ** | geom_info | ||
) |
Creates a geometry information describing a Gaussian map with nrings iso-latitude rings and nphi pixels per ring. The azimuth of the first pixel in each ring is phi0 (in radians). The index difference between two adjacent pixels in an iso-latitude ring is stride_lon, the index difference between the two start pixels in consecutive iso-latitude rings is stride_lat.
Definition at line 108 of file sharp_geomhelpers.c.
void sharp_make_fejer1_geom_info | ( | int | nrings, |
int | nphi, | ||
double | phi0, | ||
int | stride_lon, | ||
int | stride_lat, | ||
sharp_geom_info ** | geom_info | ||
) |
Creates a geometry information describing an ECP map with nrings iso-latitude rings and nphi pixels per ring. The azimuth of the first pixel in each ring is phi0 (in radians). The index difference between two adjacent pixels in an iso-latitude ring is stride_lon, the index difference between the two start pixels in consecutive iso-latitude rings is stride_lat.
Definition at line 143 of file sharp_geomhelpers.c.
void sharp_make_cc_geom_info | ( | int | nrings, |
int | ppring, | ||
double | phi0, | ||
int | stride_lon, | ||
int | stride_lat, | ||
sharp_geom_info ** | geom_info | ||
) |
Creates a geometry information describing an ECP map with nrings iso-latitude rings and nphi pixels per ring. The azimuth of the first pixel in each ring is phi0 (in radians). The index difference between two adjacent pixels in an iso-latitude ring is stride_lon, the index difference between the two start pixels in consecutive iso-latitude rings is stride_lat.
Definition at line 190 of file sharp_geomhelpers.c.
void sharp_make_fejer2_geom_info | ( | int | nrings, |
int | ppring, | ||
double | phi0, | ||
int | stride_lon, | ||
int | stride_lat, | ||
sharp_geom_info ** | geom_info | ||
) |
Creates a geometry information describing an ECP map with nrings iso-latitude rings and nphi pixels per ring. The azimuth of the first pixel in each ring is phi0 (in radians). The index difference between two adjacent pixels in an iso-latitude ring is stride_lon, the index difference between the two start pixels in consecutive iso-latitude rings is stride_lat.
Definition at line 239 of file sharp_geomhelpers.c.
void sharp_make_mw_geom_info | ( | int | nrings, |
int | ppring, | ||
double | phi0, | ||
int | stride_lon, | ||
int | stride_lat, | ||
sharp_geom_info ** | geom_info | ||
) |
Creates a geometry information describing a map with nrings iso-latitude rings and nphi pixels per ring. The azimuth of the first pixel in each ring is phi0 (in radians). The index difference between two adjacent pixels in an iso-latitude ring is stride_lon, the index difference between the two start pixels in consecutive iso-latitude rings is stride_lat.
Definition at line 286 of file sharp_geomhelpers.c.
void sharp_make_geom_info | ( | int | nrings, |
const int * | nph, | ||
const ptrdiff_t * | ofs, | ||
const int * | stride, | ||
const double * | phi0, | ||
const double * | theta, | ||
const double * | wgt, | ||
sharp_geom_info ** | geom_info | ||
) |
Creates a geometry information from a set of ring descriptions. All arrays passed to this function must have nrings elements.
nrings | the number of rings in the map |
nph | the number of pixels in each ring |
ofs | the index of the first pixel in each ring in the map array |
stride | the stride between consecutive pixels |
phi0 | the azimuth (in radians) of the first pixel in each ring |
theta | the colatitude (in radians) of each ring |
wgt | the pixel weight to be used for the ring in map2alm and adjoint map2alm transforms. Pass NULL to use 1.0 as weight for all rings. |
geom_info | will hold a pointer to the newly created data structure |
ptrdiff_t sharp_map_size | ( | const sharp_geom_info * | info | ) |