9 #ifndef CARMA_SERVICES_FLUXSOURCE_H
10 #define CARMA_SERVICES_FLUXSOURCE_H
26 class FluxSource :
public carma::services::CatalogEntry {
36 void setMJD(
const std::string &date);
83 void setRms(
const float rms);
112 static const std::string fmt_;
116 const std::string parseMJD(
double mjd);
117 double parseDate(
const std::string& date);
122 #endif // CARMA_SERVICES_FLUXSOURCE_H
void setFrequency(const Frequency &freq)
Set frequency of flux source.
void setMJD(const std::string &date)
Set the MJD of flux measurement, the date string will be parsed to compute the MJD.
The FluxDensity class is used to represent a flux density in any units.
void setFlux(const FluxDensity &flux)
Set flux of flux source.
carma/services/Frequency.h Representation of Frequency.
const std::string getDate()
Get the date string representation of flux measurement.
Frequency getFrequency() const
Get frequency of flux source.
The Frequency class can represent any frequency in any units.
void setRefAnt(const std::string &ref)
Set name of reference antenna used in solution of flux measurement.
float getRms() const
Get RMS for flux measurement.
std::string getRefAnt() const
Get name of reference antenna used in solution of flux measurement.
void setRms(const float rms)
Set RMS for flux measurement.
FluxSource holds a measurement of a flux calibrator source.
FluxDensity getFlux() const
Get flux of flux source.