#include "hmpdf_object.h"Functions | |
| int | hmpdf_get_map_op (hmpdf_obj *d, int Nbins, double binedges[Nbins+1], double op[Nbins], int new_map) |
| int | hmpdf_get_map_ps (hmpdf_obj *d, int Nbins, double binedges[Nbins+1], double ps[Nbins], int new_map) |
| int | hmpdf_get_map (hmpdf_obj *d, double **map, long *Nside, int new_map) |
| int hmpdf_get_map_op | ( | hmpdf_obj * | d, |
| int | Nbins, | ||
| double | binedges[Nbins+1], | ||
| double | op[Nbins], | ||
| int | new_map | ||
| ) |
Returns the histogram of a simplified simulation (map).
| [in,out] | d | hmpdf_init() must have been called on d |
| [in] | Nbins | number of bins the histogram will be binned into |
| [in] | binedges | monotonically increasing array of length Nbins+1 |
| [out] | op | the binned histogram, normalized |
| [in] | new_map | if set to non-zero, the simplified simulation will be rerun even if a map has already been generated |
| int hmpdf_get_map_ps | ( | hmpdf_obj * | d, |
| int | Nbins, | ||
| double | binedges[Nbins+1], | ||
| double | ps[Nbins], | ||
| int | new_map | ||
| ) |
Returns the power spectrum of a simplified simulation (map).
| [in,out] | d | hmpdf_init() must have been called on d |
| [in] | Nbins | number of bins the power spectrum will be binned into |
| [in] | binedges | monotonically increasing array of length Nbins+1 |
| [out] | ps | the binned, direction averaged power spectrum |
| [in] | new_map | if set to non-zero, the simplified simulation will be rerun even if a map has already been generated |
| int hmpdf_get_map | ( | hmpdf_obj * | d, |
| double ** | map, | ||
| long * | Nside, | ||
| int | new_map | ||
| ) |
Returns a simplified simulation (map).
| [in,out] | d | hmpdf_init() must have been called on d |
| [out] | map | the map (flattened array of dimensions Nside x Nside) |
| [out] | Nside | sidelength of the map |
| [in] | new_map | if set to non-zero, the simplified simulation will be rerun even if a map has already been generated |