FluxSource holds a measurement of a flux calibrator source.
More...
#include <carma/services/FluxSource.h>
Inherits carma::services::CatalogEntry.
|
const std::string | getDate () |
| Get the date string representation of flux measurement. More...
|
|
FluxDensity | getFlux () const |
| Get flux of flux source. More...
|
|
Frequency | getFrequency () const |
| Get frequency of flux source. More...
|
|
double | getMJD () const |
|
std::string | getRefAnt () const |
| Get name of reference antenna used in solution of flux measurement. More...
|
|
float | getRms () const |
| Get RMS for flux measurement. More...
|
|
void | setFlux (const FluxDensity &flux) |
| Set flux of flux source. More...
|
|
void | setFrequency (const Frequency &freq) |
| Set frequency of flux source. More...
|
|
void | setMJD (const std::string &date) |
| Set the MJD of flux measurement, the date string will be parsed to compute the MJD. More...
|
|
void | setMJD (double mjd) |
| Set the MJD at the time of the flux measurement. More...
|
|
void | setRefAnt (const std::string &ref) |
| Set name of reference antenna used in solution of flux measurement. More...
|
|
void | setRms (const float rms) |
| Set RMS for flux measurement. More...
|
|
| CatalogEntry () |
| Constructor. More...
|
|
virtual std::string | getName () const |
|
virtual void | setName (const std::string &name) |
| All catalog entries must be named. More...
|
|
virtual | ~CatalogEntry () |
| Destructor. More...
|
|
FluxSource holds a measurement of a flux calibrator source.
It contains source name, date of measurement, flux density in Janskys, rms error in Janskys, reference antenna used for the measurement
Definition at line 26 of file FluxSource.h.
const std::string carma::services::FluxSource::getDate |
( |
| ) |
|
Get the date string representation of flux measurement.
- Returns
- date of measurement (YYYY-MMM-DD.d)
FluxDensity carma::services::FluxSource::getFlux |
( |
| ) |
const |
Get flux of flux source.
- Returns
- flux
Frequency carma::services::FluxSource::getFrequency |
( |
| ) |
const |
Get frequency of flux source.
- Returns
- frequency
double carma::services::FluxSource::getMJD |
( |
| ) |
const |
- Returns
- the MJD at the time of the flux measurement
std::string carma::services::FluxSource::getRefAnt |
( |
| ) |
const |
Get name of reference antenna used in solution of flux measurement.
- Returns
- reference antenna name (e.g. Ovro1, Bima9)
float carma::services::FluxSource::getRms |
( |
| ) |
const |
Get RMS for flux measurement.
- Returns
- The root-mean-square error on the flux measurement
void carma::services::FluxSource::setFlux |
( |
const FluxDensity & |
flux | ) |
|
Set flux of flux source.
- Parameters
-
void carma::services::FluxSource::setFrequency |
( |
const Frequency & |
freq | ) |
|
Set frequency of flux source.
- Parameters
-
void carma::services::FluxSource::setMJD |
( |
const std::string & |
date | ) |
|
Set the MJD of flux measurement, the date string will be parsed to compute the MJD.
- Parameters
-
date | date of measurement (YYYY-MMM-DD.d) |
void carma::services::FluxSource::setMJD |
( |
double |
mjd | ) |
|
Set the MJD at the time of the flux measurement.
- Parameters
-
mjd | The modified Julian day. |
void carma::services::FluxSource::setRefAnt |
( |
const std::string & |
ref | ) |
|
Set name of reference antenna used in solution of flux measurement.
- Parameters
-
ref | reference antenna name (e.g. Ovro1, Bima9) |
void carma::services::FluxSource::setRms |
( |
const float |
rms | ) |
|
Set RMS for flux measurement.
- Parameters
-
rms | The root-mean-square error on the flux measurement |
The documentation for this class was generated from the following file: