Class DispersionMeasureIntegrator¶
- Defined in File DispersionMeasureIntegrator.h
Inheritance Relationships¶
Base Type¶
public IntegratorTemplate< QDispersionMeasure, QNumber >
(Template Class IntegratorTemplate)
Class Documentation¶
-
class
DispersionMeasureIntegrator
: public IntegratorTemplate<QDispersionMeasure, QNumber>¶ Calculates dispersion measure (DM) over the LOS.
The integrators depends only on a charged gas density model, such as chargedgas::YMW16
Public Types
Public Functions
-
~DispersionMeasureIntegrator
()¶
-
QDispersionMeasure
integrateOverLOS
(const QDirection &dir) const Every instantiation/derived class must implement this method which represents an integral over the line of sight of an accumulated quantity f(s) for a given units::QDirection
dir
. When multiplied with units::QLength gives the pixel type,QPXL
I(dir)∼∫∞0dsf(s)
-
QDispersionMeasure
integrateOverLOS
(const QDirection &dir, const QNumber&) const¶ Additionally, for a frequency or energy dependent integrals one should implement the following method too.
-
DispersionMeasureIntegrator::tLOSProfile
getLOSProfile
(const QDirection &direction, int Nsteps) const¶
-
std::string
getDescription
() const Get Description of the integrator
-
void
setDescription
(const std::string &description) Set Description of the integrator
-
void
setSkymapParameter
(const QNumber &p)¶ Setter for the skymap parameter (requires for the cacheTable, if enabled, to be re-initialized)
-
void
setSunPosition
(const Vector3QLength &pos) Set the position of the Sun in the galaxy as a vector (x, y, z) from which the LOS integration starts, default: (8.5_kpc, 0, 0)
-
Vector3QLength
getSunPosition
() const Get the position of the Sun in the galaxy as a vector (x, y, z)
-
QLength
getMaxDistance
(const QDirection &direction) const Wrapper within the class for distanceToGalBorder(positionSun, direction) becomes getMaxDistance(direction)
-
virtual void
setupCacheTable
(int N_x, int N_y, int N_z) Caching helpers
-
virtual void
initCacheTable
()
-
bool
isCacheTableEnabled
() const
-
bool
isCacheTableInitialized
() const
-
virtual tLOSProfile
getLOSProfile
(const QDirection &dir, const QNumber&, int Nsteps) const¶
Protected Attributes
-
Vector3QLength
positionSun
-
QNumber
skymapParameter
-
bool
cacheEnabled
-
bool
cacheTableInitialized
-
std::string
description
-