Class GammaSkymap¶
- Defined in File GammaSkymap.h
Inheritance Relationships¶
Base Type¶
public SkymapTemplate< QDiffIntensity, QEnergy >(Template Class SkymapTemplate)
Class Documentation¶
-
class
GammaSkymap: public SkymapTemplate<QDiffIntensity, QEnergy>¶ 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).
Public Types
-
typedef tFluxContainer::iterator
iterator iterator goodies
-
typedef tFluxContainer::const_iterator
const_iterator
Public Functions
-
QEnergy
getEnergy() const
-
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
-
QDiffIntensity
getPixel(std::size_t ipix) const
-
double
getPixelAsDouble(std::size_t i) const Retrieve ith (
- ipix) pixel as naked double
-
QDiffIntensity
getMean() const Calculate the mean value of unmasked pixels
-
bool
hasMask() const Checks if the skymap is masked
-
QDiffIntensity
operator[](std::size_t ipix) const¶ Pixel accessor [] (same as getPixel)
-
QDiffIntensity *
data() Returns a pointer to the pixel container
Set the line of sight integrator
-
void
setOutput()
-
void
printPixels() const
-
std::vector<bool>
getMask() const¶
-
bool
isMasked(std::size_t pixel) const
-
void
compute()
-
void
convertToUnits(QDiffIntensity units_, const std::string &defaultUnitsString)¶ output
-
QNumber
toSkymapDefaultUnits(const QDiffIntensity pixel) const¶
-
QDiffIntensity
getOutputUnits() const
-
std::string
getOutputUnitsAsString() const
-
std::string
getUnits() const
-
std::vector<float>
containerToRawVector() const
-
SkymapTemplate<QDiffIntensity, QEnergy>::const_iterator
begin()
-
const_iterator
begin() const¶
-
SkymapTemplate<QDiffIntensity, QEnergy>::const_iterator
end()
-
const_iterator
end() const¶
-
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)
Protected Functions
-
void
initDefaultOutputUnits(QDiffIntensity units, const std::string &unitsString)¶
-
void
initContainer()
-
void
initMask()
Protected Attributes
-
tFluxContainer
fluxContainer
-
std::vector<bool>
maskContainer
-
tPixel
defaultOutputUnits
-
std::string
defaultOutputUnitsString
-
QEnergy
skymapParameter
-
std::shared_ptr<SkymapMask>
mask
-
std::shared_ptr<IntegratorTemplate<QDiffIntensity, QEnergy>>
integrator
-
std::shared_ptr<ProgressBar>
progressbar
-
std::shared_ptr<std::mutex>
progressbar_mutex
-
std::size_t
nside
-
std::size_t
npix
-
std::size_t
res
-
std::string
description
-
typedef tFluxContainer::iterator