28 #ifndef MEASURES_STOKES_H
29 #define MEASURES_STOKES_H
A 1-D Specialization of the Array class.
Linearly Polarized intensity ((Q^2+U^2)^(1/2))
Linear Polarization Fraction (Plinear/I)
Stokes parameter definitions for interface to table data.
The number of StokesTypes.
standard stokes parameters
static Fallible< Int > receptor2(StokesTypes stokesType)
StokesTypes
The Stokes types are defined by this enum.
static String name(StokesTypes stokesType)
convert StokesTypes to String, Stokes::Undefined returns "??".
circular correlation products
linear correlation products
static StokesTypes type(Int stokesNumber)
convert Int to StokesTypes, returns Stokes::Undefined if it is an invalid type
Mark a value as valid or invalid.
Polarized intensity ((Q^2+U^2+V^2)^(1/2))
bool Bool
Define the standard types used by Casacore.
static Fallible< Int > receptor1(StokesTypes stokesType)
map StokesTypes to receptor number (0 or 1) for the interferometric correlation products.
single dish polarization types
String: the storage and methods of handling collections of characters.
Linear Polarization Angle (0.5 arctan(U/Q)) (in radians)
mixed correlation products
static Vector< String > allNames(Bool includeUndefined=False)
get all recognized stokes names in no guaranteed order.
static StokesTypes fromFITSValue(Int)
Polarization Fraction (Ptotal/I)
static Int FITSValue(StokesTypes which)
These two functions map stokes type to FITS type and vice versa.
general quasi-orthogonal correlation products
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.