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