Class Skymap

Inheritance Relationships

Derived Types

Class Documentation

class Skymap

Base abstract class for all Skymaps; provides elementary HEALPix functions.

res : The resolution index nside = 2^res : The number of pixels per side. npix = 12 * nside^2 : The total number of pixels in the map.

Subclassed by SkymapTemplate< QPXL, QSTEP >, SkymapTemplate< QDiffIntensity, QEnergy >, SkymapTemplate< QDispersionMeasure, QNumber >, SkymapTemplate< QRotationMeasure, QNumber >, SkymapTemplate< QTemperature, QFrequency >

Public Functions

Skymap(std::size_t nside_)
virtual ~Skymap()
void setNside(std::size_t nside_)
std::size_t getNside() const
void setRes(std::size_t res_)
std::size_t getRes() const
std::size_t getNpix() const
std::string getDescription() const
void setDescription(const std::string &description)
virtual double getPixelAsDouble(std::size_t i) const = 0
virtual void save(std::shared_ptr<outputs::Output> output) const = 0

Protected Attributes

std::size_t nside
std::size_t npix
std::size_t res
std::string description