FluxStandard.h

Classes

FluxStandard -- FluxStandard: Compute flux densities for standard reference sources (full description)

class FluxStandard

Types

enum FluxScale

PERLEY_90
Perley (1990); plus Reynolds (1934-638; 7/94); Baars (3C138)
PERLEY_TAYLOR_95
Perley and Taylor (1995.2); plus Reynolds (1934-638; 7/94)
PERLEY_TAYLOR_99
Perley and Taylor (1999.2); plus Reynolds (1934-638; 7/94)
BAARS
Baars scale

Interface

Public Members
FluxStandard (FluxStandard::FluxScale scale = FluxStandard::PERLEY_TAYLOR_99)
~FluxStandard()
Bool compute (const String& sourceName, const MFrequency& mfreq, Flux <Double>& value, Flux<Double>& error)
static Bool matchStandard(const String& name, FluxStandard::FluxScale& stdEnum, String& stdName)
static String standardName(const FluxStandard::FluxScale& stdEnum)

Description

Prerequisite

Etymology

From "flux density" and "standard".

Synopsis

The FluxStandard class provides a means to compute total flux densities for specified non-variable sources on a standard flux density scale, such as that established by Baars or Perley and Taylor.

Example


 

Motivation

Encapsulate information on standard flux density computation in one class.

To Do

Member Description

enum FluxScale

Flux scale types

FluxStandard (FluxStandard::FluxScale scale = FluxStandard::PERLEY_TAYLOR_99)

Default constructor, and destructor

~FluxStandard()

Bool compute (const String& sourceName, const MFrequency& mfreq, Flux <Double>& value, Flux<Double>& error)

Compute the flux density for a specified source at a specified frequency

static Bool matchStandard(const String& name, FluxStandard::FluxScale& stdEnum, String& stdName)

Decode a string representation of the standard or catalog name

static String standardName(const FluxStandard::FluxScale& stdEnum)

Return a standard string description for each scale or catalog