Class HEALPixFormat

Inheritance Relationships

Base Type

Class Documentation

class HEALPixFormat : public Output

Public Functions

HEALPixFormat(const std::string &filename)

Saves output to a filename

void initOutput()

The primary header Outputs: SIMPLE = T / file does conform to FITS standard BITPIX = 32 / number of bits per data pixel NAXIS = 0 / number of data axes EXTEND = T / FITS dataset may contain extensions DATE = ’2099-12-31T23:59:59’ / file creation date (YYYY-MM-DDThh:mm:ss UT) END

void createTable(int nrows, const std::string &unit)

Creates binary table

Parameters
  • nrows: Number of rows in the table
  • unit: Physical unit of data in the table

void writeMetadata(int nside, double res, bool hasMask, const std::string &description)

The healpix HDU header PIXTYPE = ‘HEALPIX’ / HEALPIX Pixelisation INDXSCHM= ‘IMPLICIT’ / Indexing : IMPLICIT or EXPLICIT ORDERING= ‘RING’ / Pixel ordering scheme NSIDE = 2^n / where n={0, 29} FIRSTPIX= 0 / First pixel LASTPIX = 12*nside^2-1 / Last pixel BAD_DATA= -1.6375000E+30 / Sentinel value given to missing or bad pixels COORDSYS= ‘G’ / Pixelisation coordinate system, G = Galactic

void writeKeyValueAsDouble(const std::string &key, double value, const std::string &description)
void writeKeyValueAsString(const std::string &key, const std::string &value, const std::string &description)
void writeColumn(int nElements, void *array)

Public Members

const std::string outputName