casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Protected Member Functions | Private Attributes
casa::FluxCalcQS Class Reference

class Vector; More...

#include <FluxCalcQS.h>

Inheritance diagram for casa::FluxCalcQS:
casa::FluxCalcLogFreqPolynomial casa::FluxStdBaars casa::FluxStdPerley90 casa::FluxStdPerleyButler2010 casa::FluxStdPerleyButler2013 casa::FluxStdPerleyTaylor95 casa::FluxStdPerleyTaylor99 casa::FluxCalcLogFreqBrokenPolynomial casa::FluxStdBaars casa::FluxStdPerley90 casa::FluxStdPerleyTaylor95 casa::FluxStdPerleyButler2010 casa::FluxStdPerleyButler2013 casa::FluxStdPerleyTaylor99

List of all members.

Public Types

enum  Source {
  THREEC286,
  THREEC48,
  THREEC147,
  THREEC138,
  NINETEEN34M638,
  THREEC295,
  THREEC196,
  THREEC123,
  NUMBER_SOURCES,
  UNKNOWN_SOURCE
}
 Source identifiers. More...
typedef FluxCalcQS FCQS
typedef RigidVector< String, 4 > RVS4
typedef RigidVector< String, 5 > RVS5

Public Member Functions

virtual ~FluxCalcQS ()
virtual Bool operator() (Flux< Double > &value, Flux< Double > &error, const MFrequency &mfreq)=0
Bool operator() (Vector< Flux< Double > > &values, Vector< Flux< Double > > &errors, const Vector< MFrequency > &mfreqs)
FCQS::Source srcNameToEnum (const String &srcName) const
 If a FS::Source enum matches srcName, returns the enum.
virtual Bool setSource (const String &sourceName)
 Sets srcEnum_p = srcNameToEnum(sourceName), and returns srcEnum_p != FCQS::UNKNOWN_SOURCE.
FCQS::Source getSrcEnum ()
MDirection getDirection ()

Protected Member Functions

 FluxCalcQS ()

Private Attributes

FCQS::Source srcEnum_p
std::map< FCQS::Source, Vector
< String > > 
names_p
 A map from an FS::Source enum to a list of recognized names for it.
std::map< FCQS::Source,
MDirection
directions_p
 A map from an FS::Source enum to its J2000 direction.

Detailed Description

class Vector;

FluxCalcQS: Base class for flux standard calculations which do not explicitly depend on time.

Intended use:

Public interface

Prerequisite

Etymology

From "flux density", "calculator", and "quasistatic".

Synopsis

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.

Example

Motivation

Provide a base time-independent interface for calculating standard flux densities, and include any common functions.

Definition at line 82 of file FluxCalcQS.h.


Member Typedef Documentation

Definition at line 85 of file FluxCalcQS.h.

Definition at line 86 of file FluxCalcQS.h.

Definition at line 87 of file FluxCalcQS.h.


Member Enumeration Documentation

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 90 of file FluxCalcQS.h.


Constructor & Destructor Documentation

virtual casa::FluxCalcQS::~FluxCalcQS ( ) [virtual]

Member Function Documentation

Definition at line 122 of file FluxCalcQS.h.

References directions_p, and srcEnum_p.

virtual Bool casa::FluxCalcQS::operator() ( Flux< Double > &  value,
Flux< Double > &  error,
const MFrequency mfreq 
) [pure virtual]
Bool casa::FluxCalcQS::operator() ( Vector< Flux< Double > > &  values,
Vector< Flux< Double > > &  errors,
const Vector< MFrequency > &  mfreqs 
)
virtual Bool casa::FluxCalcQS::setSource ( const String sourceName) [virtual]

Sets srcEnum_p = srcNameToEnum(sourceName), and returns srcEnum_p != FCQS::UNKNOWN_SOURCE.

Reimplemented in casa::FluxCalcLogFreqPolynomial.

If a FS::Source enum matches srcName, returns the enum.

Otherwise, FCQS::UNKNOWN_SOURCE.


Member Data Documentation

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

Definition at line 134 of file FluxCalcQS.h.

Referenced by getDirection().

A map from an FS::Source enum to a list of recognized names for it.

Definition at line 131 of file FluxCalcQS.h.

Definition at line 128 of file FluxCalcQS.h.

Referenced by getDirection().


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