Class DispersionMeasureSkymap¶
- Defined in File DispersionMeasureSkymap.h
Inheritance Relationships¶
Base Type¶
public SkymapTemplate< QDispersionMeasure, QNumber >
(Template Class SkymapTemplate)
Class Documentation¶
-
class
DispersionMeasureSkymap
: public SkymapTemplate<QDispersionMeasure, QNumber>¶ A skymap container for dispersion measure (DM).
Public Types
-
typedef tFluxContainer::iterator
iterator
¶ iterator goodies
-
typedef tFluxContainer::const_iterator
const_iterator
¶
Public Functions
-
DispersionMeasureSkymap
(std::size_t nside_)¶
-
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
-
QDispersionMeasure
getPixel
(std::size_t ipix) const¶
-
double
getPixelAsDouble
(std::size_t i) const¶ Retrieve ith (
- ipix) pixel as naked double
-
QDispersionMeasure
getMean
() const¶ Calculate the mean value of unmasked pixels
-
bool
hasMask
() const¶ Checks if the skymap is masked
-
QDispersionMeasure
operator[]
(std::size_t ipix) const¶ Pixel accessor [] (same as getPixel)
-
QDispersionMeasure *
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
(QDispersionMeasure units_, const std::string &defaultUnitsString)¶ output
-
QNumber
toSkymapDefaultUnits
(const QDispersionMeasure pixel) const¶
-
QDispersionMeasure
getOutputUnits
() const¶
-
std::string
getOutputUnitsAsString
() const¶
-
std::string
getUnits
() const¶
-
std::vector<float>
containerToRawVector
() const¶
-
SkymapTemplate<QDispersionMeasure, QNumber>::const_iterator
begin
()¶
-
const_iterator
begin
() const¶
-
SkymapTemplate<QDispersionMeasure, QNumber>::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
(QDispersionMeasure units, const std::string &unitsString)¶
-
void
initContainer
()¶
-
void
initMask
()¶
Protected Attributes
-
tFluxContainer
fluxContainer
¶
-
std::vector<bool>
maskContainer
¶
-
std::string
defaultOutputUnitsString
¶
-
QNumber
skymapParameter
-
std::shared_ptr<SkymapMask>
mask
¶
-
std::shared_ptr<IntegratorTemplate<QDispersionMeasure, QNumber>>
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