casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
casa::FluxStdSrcs Class Reference

Basic calibrator data used in the flux standards. More...

#include <FluxStdSrcs.h>

Inheritance diagram for casa::FluxStdSrcs:
casa::FluxCalcVQS casa::FluxCalcLogFreqPolynomial casa::FluxCalcLogFreqPolynomialSH casa::NSTDS::FluxStdBaars casa::NSTDS::FluxStdPerley90 casa::NSTDS::FluxStdPerleyButler2010 casa::NSTDS::FluxStdPerleyButler2013 casa::NSTDS::FluxStdPerleyButler2017 casa::NSTDS::FluxStdPerleyTaylor95 casa::NSTDS::FluxStdPerleyTaylor99 casa::NSTDS::FluxStdScaifeHeald2012 casa::NSTDS::FluxStdStevensReynolds2016

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...
 

Detailed Description

Basic calibrator data used in the flux standards.

Intended use:

Public interface

Prerequisite

Etymology

Flux standard sources

Synopsis

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.

Example

Motivation

Encapsulate data on flux standards

Definition at line 68 of file FluxStdSrcs.h.

Member Typedef Documentation

Definition at line 72 of file FluxStdSrcs.h.

Definition at line 73 of file FluxStdSrcs.h.

Member Enumeration Documentation

Source identifiers.

Enumerator
THREEC286 
THREEC48 
THREEC147 
THREEC138 
NINETEEN34M638 
THREEC295 
THREEC196 
THREEC123 
THREEC380 
J0133 

new sources from Perley-Butler 2017

FORNAXA 
J0444 
PICTORA 
TAURUSA 
HYDRAA 
VIRGOA 
HERCULESA 
THREEC353 
CYGNUSA 
THREEC444 
CASSIOPEIAA 
NUMBER_SOURCES 

The number of standards in this enumerator.

UNKNOWN_SOURCE 

Definition at line 76 of file FluxStdSrcs.h.

Constructor & Destructor Documentation

casa::FluxStdSrcs::~FluxStdSrcs ( )
casa::FluxStdSrcs::FluxStdSrcs ( )
protected

Member Function Documentation

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.

Member Data Documentation

std::map<FSS::Source, casacore::MDirection> casa::FluxStdSrcs::directions_p
private

A map from an FSS::Source enum to its J2000 direction.

Definition at line 122 of file FluxStdSrcs.h.

std::map<FSS::Source, casacore::Vector<casacore::String> > casa::FluxStdSrcs::names_p
private

A map form an FSS::Source enum to known names.

Definition at line 120 of file FluxStdSrcs.h.


The documentation for this class was generated from the following file: