casa
5.7.0-16
|
#include <FluxCalcQS.h>
Public Types | |
enum | Source { THREEC286, THREEC48, THREEC147, THREEC138, NINETEEN34M638, THREEC295, THREEC196, THREEC123, NUMBER_SOURCES, UNKNOWN_SOURCE } |
Source identifiers. More... | |
typedef FluxCalcQS | FCQS |
typedef casacore::RigidVector < casacore::String, 4 > | RVS4 |
typedef casacore::RigidVector < casacore::String, 5 > | RVS5 |
Public Member Functions | |
virtual | ~FluxCalcQS () |
virtual casacore::Bool | operator() (Flux< casacore::Double > &value, Flux< casacore::Double > &error, const casacore::MFrequency &mfreq)=0 |
casacore::Bool | operator() (casacore::Vector< Flux< casacore::Double > > &values, casacore::Vector< Flux< casacore::Double > > &errors, const casacore::Vector< casacore::MFrequency > &mfreqs) |
FCQS::Source | srcNameToEnum (const casacore::String &srcName) const |
If a FS::Source enum matches srcName, returns the enum. More... | |
virtual casacore::Bool | setSource (const casacore::String &sourceName) |
Sets srcEnum_p = srcNameToEnum(sourceName), and returns srcEnum_p != FCQS::UNKNOWN_SOURCE. More... | |
FCQS::Source | getSrcEnum () |
casacore::MDirection | getDirection () |
Protected Member Functions | |
FluxCalcQS () | |
Private Attributes | |
FCQS::Source | srcEnum_p |
std::map< FCQS::Source, casacore::Vector < casacore::String > > | names_p |
A map from an FS::Source enum to a list of recognized names for it. More... | |
std::map< FCQS::Source, casacore::MDirection > | directions_p |
A map from an FS::Source enum to its J2000 direction. More... | |
class Flux;
FluxCalcQS: Base class for flux standard calculations which do not explicitly depend on time.
Public interface
From "flux density", "calculator", and "quasistatic".
The FluxCalcQS class provides an interface and a small amount of machinery for computing total flux densities of nominally non-variable sources. "Nominally non-variable" means that the sources do not vary quickly, but they are remeasured, and new standards published, every few years. See FluxStdsQS for actual definitions of the standards.
Provide a base time-independent interface for calculating standard flux densities, and include any common functions.
Definition at line 86 of file FluxCalcQS.h.
typedef FluxCalcQS casa::FluxCalcQS::FCQS |
Definition at line 89 of file FluxCalcQS.h.
Definition at line 90 of file FluxCalcQS.h.
Definition at line 91 of file FluxCalcQS.h.
Source identifiers.
Enumerator | |
---|---|
THREEC286 | |
THREEC48 | |
THREEC147 | |
THREEC138 | |
NINETEEN34M638 | |
THREEC295 | |
THREEC196 | |
THREEC123 | |
NUMBER_SOURCES |
The number of standards in this enumerator. |
UNKNOWN_SOURCE |
Definition at line 94 of file FluxCalcQS.h.
|
virtual |
|
protected |
|
inline |
Definition at line 126 of file FluxCalcQS.h.
References directions_p, and srcEnum_p.
FCQS::Source casa::FluxCalcQS::getSrcEnum | ( | ) |
|
pure virtual |
casacore::Bool casa::FluxCalcQS::operator() | ( | casacore::Vector< Flux< casacore::Double > > & | values, |
casacore::Vector< Flux< casacore::Double > > & | errors, | ||
const casacore::Vector< casacore::MFrequency > & | mfreqs | ||
) |
|
virtual |
Sets srcEnum_p = srcNameToEnum(sourceName), and returns srcEnum_p != FCQS::UNKNOWN_SOURCE.
FCQS::Source casa::FluxCalcQS::srcNameToEnum | ( | const casacore::String & | srcName | ) | const |
If a FS::Source enum matches srcName, returns the enum.
Otherwise, FCQS::UNKNOWN_SOURCE.
|
private |
A map from an FS::Source enum to its J2000 direction.
Definition at line 138 of file FluxCalcQS.h.
Referenced by getDirection().
|
private |
A map from an FS::Source enum to a list of recognized names for it.
Definition at line 135 of file FluxCalcQS.h.
|
private |
Definition at line 132 of file FluxCalcQS.h.
Referenced by getDirection().