Skymaps¶
-
group
Skymaps
Functions
-
SkymapTemplate
(std::size_t nside = 64, const QSTEP &p = QSTEP(0)) Constructors
-
~SkymapTemplate
()
-
void
initContainer
()
-
void
initMask
()
-
std::size_t
size
() const Size of the skymap container (same as getNPix())
-
std::size_t
getUnmaskedPixelCount
() const Calculate the total number of unmasked pixels
-
QPXL
getPixel
(std::size_t ipix) const
-
double
getPixelAsDouble
(std::size_t i) const Retrieve ith (
- ipix) pixel as naked double
-
QPXL
getMean
() const Calculate the mean value of unmasked pixels
-
bool
hasMask
() const Checks if the skymap is masked
-
QPXL
operator[]
(std::size_t ipix) const¶ Pixel accessor [] (same as getPixel)
-
void
printPixels
() const
Set the line of sight integrator
-
void
compute
()
-
void
initDefaultOutputUnits
(QPXL units, const std::string &unitsString)¶
-
void
convertToUnits
(QPXL units_, const std::string &defaultUnitsString)¶ output
-
QPXL
getOutputUnits
() const
-
std::string
getOutputUnitsAsString
() const
-
std::string
getUnits
() const
-
std::vector<float>
containerToRawVector
() const
-
std::vector<bool>
getMask
() const¶
-
bool
isMasked
(std::size_t pixel) const
-
SkymapTemplate<QPXL, QSTEP>::const_iterator
begin
()
-
SkymapTemplate<QPXL, QSTEP>::const_iterator
end
()
-
class
DispersionMeasureSkymap
: public SkymapTemplate<QDispersionMeasure, QNumber> - #include </home/andy/Projects/category_science/hermes/include/hermes/skymaps/DispersionMeasureSkymap.h>
A skymap container for dispersion measure (DM).
-
class
GammaSkymap
: public SkymapTemplate<QDiffIntensity, QEnergy> - #include </home/andy/Projects/category_science/hermes/include/hermes/skymaps/GammaSkymap.h>
A skymap container suitable for gamma-ray emissions; saves pixels in units of differential intensity (GeV^-1 m^-2 s^-1 sr^-1), specified by gamma-ray energy (J).
-
class
GammaSkymapRange
- #include </home/andy/Projects/category_science/hermes/include/hermes/skymaps/GammaSkymapRange.h>
A range of GammaSkymap containers.
-
class
RadioSkymap
: public SkymapTemplate<QTemperature, QFrequency> - #include </home/andy/Projects/category_science/hermes/include/hermes/skymaps/RadioSkymap.h>
A skymap container suitable for radio emissions; saves pixels in units of temperature (K), specified by frequency (Hz).
-
class
RadioSkymapRange
- #include </home/andy/Projects/category_science/hermes/include/hermes/skymaps/RadioSkymapRange.h>
A range of RadioSkymap containers.
-
class
RotationMeasureSkymap
: public SkymapTemplate<QRotationMeasure, QNumber> - #include </home/andy/Projects/category_science/hermes/include/hermes/skymaps/RotationMeasureSkymap.h>
A skymap container for rotation measure (RM).
-
class
Skymap
- #include </home/andy/Projects/category_science/hermes/include/hermes/skymaps/Skymap.h>
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 >
-
template <typename QPXL, typename QSTEP>
classSkymapTemplate
: public Skymap - #include </home/andy/Projects/category_science/hermes/include/hermes/skymaps/SkymapTemplate.h>
Provides a HEALPix-compatibile container template with undefined units of pixels; should be inherited in every process-specific skymap.
- Template Parameters
QPXL
: A type of pixel which a skymap contains (e.g., units::QTemperature, units::QRotationMeasure)QSTEP
: A physical quantity (parameter) that describes a particular map (if needed), e.g., units::QFrequency, units::QEnergy
-