casa
5.7.0-16
|
Basic calibrator data used in the flux standards. More...
#include <FluxStdSrcs.h>
Public Types | |
enum | Source { THREEC286, THREEC48, THREEC147, THREEC138, NINETEEN34M638, THREEC295, THREEC196, THREEC123, THREEC380, J0133, FORNAXA, J0444, PICTORA, TAURUSA, HYDRAA, VIRGOA, HERCULESA, THREEC353, CYGNUSA, THREEC444, CASSIOPEIAA, NUMBER_SOURCES, UNKNOWN_SOURCE } |
Source identifiers. More... | |
typedef FluxStdSrcs | FSS |
typedef casacore::RigidVector < casacore::String, 6 > | RVS6 |
Public Member Functions | |
FSS::Source | srcNameToEnum (const casacore::String &srcName, const casacore::MDirection &dir) const |
Returns an enum of srcName. More... | |
casacore::String | EnumToSrcName (const FSS::Source srcEnum) const |
Returns srcName string of the srcEnum. More... | |
casacore::MDirection | getDirection (const FSS::Source srcEnum) const |
Get source direction of srcEnum. More... | |
~FluxStdSrcs () | |
Protected Member Functions | |
FluxStdSrcs () | |
Private Attributes | |
std::map< FSS::Source, casacore::Vector < casacore::String > > | names_p |
A map form an FSS::Source enum to known names. More... | |
std::map< FSS::Source, casacore::MDirection > | directions_p |
A map from an FSS::Source enum to its J2000 direction. More... | |
Basic calibrator data used in the flux standards.
Public interface
Flux standard sources
FluxStdSrcs encapsulates an enum of the source names and lists of the directions and alternate names for the flux standards. The utility methods to translate between the enum and casacore::String name are also defined.
Encapsulate data on flux standards
Definition at line 68 of file FluxStdSrcs.h.
typedef FluxStdSrcs casa::FluxStdSrcs::FSS |
Definition at line 72 of file FluxStdSrcs.h.
Definition at line 73 of file FluxStdSrcs.h.
Source identifiers.
Definition at line 76 of file FluxStdSrcs.h.
casa::FluxStdSrcs::~FluxStdSrcs | ( | ) |
|
protected |
casacore::String casa::FluxStdSrcs::EnumToSrcName | ( | const FSS::Source | srcEnum | ) | const |
Returns srcName string of the srcEnum.
casacore::MDirection casa::FluxStdSrcs::getDirection | ( | const FSS::Source | srcEnum | ) | const |
Get source direction of srcEnum.
Referenced by casa::getDirection().
FSS::Source casa::FluxStdSrcs::srcNameToEnum | ( | const casacore::String & | srcName, |
const casacore::MDirection & | dir | ||
) | const |
Returns an enum of srcName.
|
private |
A map from an FSS::Source enum to its J2000 direction.
Definition at line 122 of file FluxStdSrcs.h.
|
private |
A map form an FSS::Source enum to known names.
Definition at line 120 of file FluxStdSrcs.h.