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

FluxCalcLogFreqPolynomialSH: Implementation base class for flux standards which are polynomials of log10(frequency) following Scaife & Heald (2012). More...

#include <FluxCalcLogFreqPolynomial.h>

Inheritance diagram for casa::FluxCalcLogFreqPolynomialSH:
casa::FluxCalcVQS casa::FluxStdSrcs casa::NSTDS::FluxStdScaifeHeald2012

Public Types

typedef casacore::RigidVector
< casacore::Float, 2 > 
RVF2
 
typedef casacore::RigidVector
< casacore::Float, 3 > 
RVF3
 
typedef casacore::RigidVector
< casacore::Float, 4 > 
RVF4
 
typedef casacore::RigidVector
< casacore::Float, 5 > 
RVF5
 
- Public Types inherited from casa::FluxCalcVQS
typedef FluxCalcVQS FCVQS
 
typedef casacore::RigidVector
< casacore::String, 4 > 
RVS4
 
typedef casacore::RigidVector
< casacore::String, 5 > 
RVS5
 
- Public Types inherited from casa::FluxStdSrcs
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

virtual casacore::Bool operator() (Flux< casacore::Double > &value, Flux< casacore::Double > &error, const casacore::MFrequency &mfreq, const casacore::Bool)
 virtual casacore::Bool operator()(Flux<casacore::Double>& value, Flux<casacore::Double>& error, const casacore::MFrequency& mfreq); More...
 
virtual casacore::Bool setSource (const casacore::String &sourceName, const casacore::MDirection &sourceDir)
 
void setFreqUnit (const casacore::String &freqUnit)
 
template<casacore::Int lford, casacore::Int errord>
void fill_coeffs (const casacore::RigidVector< casacore::Float, lford > &lfrv, const casacore::RigidVector< casacore::Float, errord > &errrv)
 
- Public Member Functions inherited from casa::FluxStdSrcs
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 ()
 

Private Member Functions

virtual casacore::Bool setSourceCoeffs ()=0
 

Private Attributes

casacore::RigidVector
< casacore::Vector
< casacore::Float >, 2 > 
coeffs_p
 
casacore::String freqUnit_p
 

Additional Inherited Members

- Public Attributes inherited from casa::FluxCalcVQS
 NUMBER_SOURCES
 Source identifiers. More...
 
- Protected Member Functions inherited from casa::FluxStdSrcs
 FluxStdSrcs ()
 

Detailed Description

FluxCalcLogFreqPolynomialSH: Implementation base class for flux standards which are polynomials of log10(frequency) following Scaife & Heald (2012).

Intended use:

Public interface

Prerequisite

Etymology

From FluxCalcLogFreqPolynomial and Scaife-Heald (SH).

Synopsis

The FluxCalcLogFreqPolynomial class extends FluxCalcLogFreqPolynomial to enable the use of polynomial coefficients a la Scaife & Heald (2012).

Example

Motivation

The Scaife & Heald (2012) models can used to calibrate broadband low-frequency radio observations (<~500 MHz).

Definition at line 225 of file FluxCalcLogFreqPolynomial.h.

Member Typedef Documentation

Definition at line 227 of file FluxCalcLogFreqPolynomial.h.

Definition at line 228 of file FluxCalcLogFreqPolynomial.h.

Definition at line 229 of file FluxCalcLogFreqPolynomial.h.

Definition at line 230 of file FluxCalcLogFreqPolynomial.h.

Member Function Documentation

template<casacore::Int lford, casacore::Int errord>
void casa::FluxCalcLogFreqPolynomialSH::fill_coeffs ( const casacore::RigidVector< casacore::Float, lford > &  lfrv,
const casacore::RigidVector< casacore::Float, errord > &  errrv 
)
virtual casacore::Bool casa::FluxCalcLogFreqPolynomialSH::operator() ( Flux< casacore::Double > &  value,
Flux< casacore::Double > &  error,
const casacore::MFrequency mfreq,
const casacore::Bool   
)
virtual

virtual casacore::Bool operator()(Flux<casacore::Double>& value, Flux<casacore::Double>& error, const casacore::MFrequency& mfreq);

void casa::FluxCalcLogFreqPolynomialSH::setFreqUnit ( const casacore::String freqUnit)
virtual casacore::Bool casa::FluxCalcLogFreqPolynomialSH::setSource ( const casacore::String sourceName,
const casacore::MDirection sourceDir 
)
virtual
virtual casacore::Bool casa::FluxCalcLogFreqPolynomialSH::setSourceCoeffs ( )
privatepure virtual

Member Data Documentation

casacore::RigidVector<casacore::Vector<casacore::Float>, 2> casa::FluxCalcLogFreqPolynomialSH::coeffs_p
private

Definition at line 248 of file FluxCalcLogFreqPolynomial.h.

casacore::String casa::FluxCalcLogFreqPolynomialSH::freqUnit_p
private

Definition at line 249 of file FluxCalcLogFreqPolynomial.h.


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