29 #ifndef MS_STOKESCONVERTER_H
30 #define MS_STOKESCONVERTER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/Vector.h>
34 #include <casacore/casa/Arrays/Matrix.h>
35 #include <casacore/casa/BasicSL/Complex.h>
36 #include <casacore/measures/Measures/Stokes.h>
StokesConverter(const StokesConverter &other)
Copy constructor.
StokesConverter & operator=(const StokesConverter &other)
Assignment,
StokesConverter()
default constructor, does not set up a conversion
void setConversion(const Vector< Int > &out, const Vector< Int > &in, Bool rescale=False)
Change or Set the conversion.
~StokesConverter()
desctructor
void invert(Array< Bool > &out, const Array< Bool > &in) const
invert flags, first dimension of input must match that of the output conversion vector used to set up...
void convert(Array< Bool > &out, const Array< Bool > &in) const
convert flags, first dimension of input must match that of the input conversion vector used to set up...
Matrix< Bool > flagConv_p
StokesConverter(const Vector< Int > &out, const Vector< Int > &in, Bool rescale=False)
Set up a conversion from in to out.
void convert(Array< Complex > &out, const Array< Complex > &in) const
convert data, first dimension of input must match that of the input conversion vector used to set up ...
Matrix< Complex > iquvConv_p
void convert(Array< Float > &out, const Array< Float > &in, Bool sigma=False) const
convert weights, first dimension of input must match that of the input conversion vector used to set ...
Matrix< Complex > polConv_p
void initConvMatrix()
initialize the polarization conversion matrix
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.