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

#include <FlagDataHandler.h>

Public Types

enum  calsolutions {
  CALSOL1,
  CALSOL2,
  CALSOL3,
  CALSOL4
}
 

Public Member Functions

 VisMapper (casacore::String expression, polarizationMap *polMap, CubeView< casacore::Complex > *leftVis, CubeView< casacore::Complex > *rightVis=NULL)
 
 VisMapper (casacore::String expression, polarizationMap *polMap)
 
 ~VisMapper ()
 
void setParentCubes (CubeView< casacore::Complex > *leftVis, CubeView< casacore::Complex > *rightVis=NULL)
 
std::vector< std::vector
< casacore::uInt > > 
getSelectedCorrelations ()
 
std::vector< string > getSelectedCorrelationStrings ()
 
casacore::Float operator() (casacore::uInt chan, casacore::uInt row)
 
casacore::Float operator() (casacore::uInt pol, casacore::uInt chan, casacore::uInt row)
 
casacore::Complex correlationProduct (casacore::uInt pol, casacore::uInt chan, casacore::uInt row)
 Direct access to the complex correlation product. More...
 
const casacore::IPositionshape () const
 NOTE: reducedLength_p is defined as [chan,row,pol]. More...
 
void shape (casacore::Int &chan, casacore::Int &row) const
 
void shape (casacore::Int &pol, casacore::Int &chan, casacore::Int &row) const
 

Protected Member Functions

void setExpressionMapping (casacore::String expression, polarizationMap *polMap)
 
casacore::Float real (casacore::Complex val)
 
casacore::Float imag (casacore::Complex val)
 
casacore::Float abs (casacore::Complex val)
 
casacore::Float arg (casacore::Complex val)
 
casacore::Float norm (casacore::Complex val)
 
casacore::Complex leftVis (casacore::uInt pol, casacore::uInt chan, casacore::uInt row)
 
casacore::Complex diffVis (casacore::uInt pol, casacore::uInt chan, casacore::uInt row)
 
casacore::Complex stokes_i (casacore::uInt pol, casacore::uInt chan)
 
casacore::Complex stokes_q (casacore::uInt pol, casacore::uInt chan)
 
casacore::Complex stokes_u (casacore::uInt pol, casacore::uInt chan)
 
casacore::Complex stokes_v (casacore::uInt pol, casacore::uInt chan)
 
casacore::Complex linear_xx (casacore::uInt pol, casacore::uInt chan)
 
casacore::Complex linear_yy (casacore::uInt pol, casacore::uInt chan)
 
casacore::Complex linear_xy (casacore::uInt pol, casacore::uInt chan)
 
casacore::Complex linear_yx (casacore::uInt pol, casacore::uInt chan)
 
casacore::Complex circular_rr (casacore::uInt pol, casacore::uInt chan)
 
casacore::Complex circular_ll (casacore::uInt pol, casacore::uInt chan)
 
casacore::Complex circular_rl (casacore::uInt pol, casacore::uInt chan)
 
casacore::Complex circular_lr (casacore::uInt pol, casacore::uInt chan)
 
casacore::Complex stokes_i_from_linear (casacore::uInt chan, casacore::uInt row)
 
casacore::Complex stokes_q_from_linear (casacore::uInt chan, casacore::uInt row)
 
casacore::Complex stokes_u_from_linear (casacore::uInt chan, casacore::uInt row)
 
casacore::Complex stokes_v_from_linear (casacore::uInt chan, casacore::uInt row)
 
casacore::Complex stokes_i_from_circular (casacore::uInt chan, casacore::uInt row)
 
casacore::Complex stokes_q_from_circular (casacore::uInt chan, casacore::uInt row)
 
casacore::Complex stokes_u_from_circular (casacore::uInt chan, casacore::uInt row)
 
casacore::Complex stokes_v_from_circular (casacore::uInt chan, casacore::uInt row)
 
casacore::Complex calsol1 (casacore::uInt chan, casacore::uInt row)
 
casacore::Complex calsol2 (casacore::uInt chan, casacore::uInt row)
 
casacore::Complex calsol3 (casacore::uInt chan, casacore::uInt row)
 
casacore::Complex calsol4 (casacore::uInt chan, casacore::uInt row)
 

Private Types

typedef casacore::Complex(casa::VisMapper::* corrProduct )(casacore::uInt, casacore::uInt)
 

Private Attributes

casacore::Float(casa::VisMapper::* applyVisExpr_p )(casacore::Complex)
 
casacore::Complex(casa::VisMapper::* getVis_p )(casacore::uInt, casacore::uInt, casacore::uInt)
 
std::vector< corrProductselectedCorrelationProducts_p
 casacore::Complex (casa::VisMapper::*getCorr_p)(casacore::uInt,casacore::uInt); More...
 
std::vector< std::vector
< casacore::uInt > > 
selectedCorrelations_p
 
std::vector< string > selectedCorrelationStrings_p
 
CubeView< casacore::Complex > * leftVis_p
 
CubeView< casacore::Complex > * rightVis_p
 
casacore::IPosition reducedLength_p
 
polarizationMappolMap_p
 
casacore::String expression_p
 

Detailed Description

Definition at line 320 of file FlagDataHandler.h.

Member Typedef Documentation

typedef casacore::Complex(casa::VisMapper::* casa::VisMapper::corrProduct)(casacore::uInt, casacore::uInt)
private

Definition at line 322 of file FlagDataHandler.h.

Member Enumeration Documentation

Enumerator
CALSOL1 
CALSOL2 
CALSOL3 
CALSOL4 

Definition at line 326 of file FlagDataHandler.h.

Constructor & Destructor Documentation

casa::VisMapper::VisMapper ( casacore::String  expression,
polarizationMap polMap,
CubeView< casacore::Complex > *  leftVis,
CubeView< casacore::Complex > *  rightVis = NULL 
)
casa::VisMapper::VisMapper ( casacore::String  expression,
polarizationMap polMap 
)
casa::VisMapper::~VisMapper ( )

Member Function Documentation

casacore::Float casa::VisMapper::abs ( casacore::Complex  val)
inlineprotected

Definition at line 375 of file FlagDataHandler.h.

References casacore::abs().

casacore::Float casa::VisMapper::arg ( casacore::Complex  val)
inlineprotected

Definition at line 376 of file FlagDataHandler.h.

References casacore::arg().

casacore::Complex casa::VisMapper::calsol1 ( casacore::uInt  chan,
casacore::uInt  row 
)
protected
casacore::Complex casa::VisMapper::calsol2 ( casacore::uInt  chan,
casacore::uInt  row 
)
protected
casacore::Complex casa::VisMapper::calsol3 ( casacore::uInt  chan,
casacore::uInt  row 
)
protected
casacore::Complex casa::VisMapper::calsol4 ( casacore::uInt  chan,
casacore::uInt  row 
)
protected
casacore::Complex casa::VisMapper::circular_ll ( casacore::uInt  pol,
casacore::uInt  chan 
)
protected
casacore::Complex casa::VisMapper::circular_lr ( casacore::uInt  pol,
casacore::uInt  chan 
)
protected
casacore::Complex casa::VisMapper::circular_rl ( casacore::uInt  pol,
casacore::uInt  chan 
)
protected
casacore::Complex casa::VisMapper::circular_rr ( casacore::uInt  pol,
casacore::uInt  chan 
)
protected
casacore::Complex casa::VisMapper::correlationProduct ( casacore::uInt  pol,
casacore::uInt  chan,
casacore::uInt  row 
)

Direct access to the complex correlation product.

casacore::Complex casa::VisMapper::diffVis ( casacore::uInt  pol,
casacore::uInt  chan,
casacore::uInt  row 
)
protected
std::vector< std::vector<casacore::uInt> > casa::VisMapper::getSelectedCorrelations ( )
inline

Definition at line 340 of file FlagDataHandler.h.

References selectedCorrelations_p.

std::vector< string > casa::VisMapper::getSelectedCorrelationStrings ( )
inline

Definition at line 341 of file FlagDataHandler.h.

References selectedCorrelationStrings_p.

casacore::Float casa::VisMapper::imag ( casacore::Complex  val)
inlineprotected

Definition at line 374 of file FlagDataHandler.h.

casacore::Complex casa::VisMapper::leftVis ( casacore::uInt  pol,
casacore::uInt  chan,
casacore::uInt  row 
)
protected
casacore::Complex casa::VisMapper::linear_xx ( casacore::uInt  pol,
casacore::uInt  chan 
)
protected
casacore::Complex casa::VisMapper::linear_xy ( casacore::uInt  pol,
casacore::uInt  chan 
)
protected
casacore::Complex casa::VisMapper::linear_yx ( casacore::uInt  pol,
casacore::uInt  chan 
)
protected
casacore::Complex casa::VisMapper::linear_yy ( casacore::uInt  pol,
casacore::uInt  chan 
)
protected
casacore::Float casa::VisMapper::norm ( casacore::Complex  val)
inlineprotected

Definition at line 377 of file FlagDataHandler.h.

References norm().

casacore::Float casa::VisMapper::operator() ( casacore::uInt  chan,
casacore::uInt  row 
)
casacore::Float casa::VisMapper::operator() ( casacore::uInt  pol,
casacore::uInt  chan,
casacore::uInt  row 
)
casacore::Float casa::VisMapper::real ( casacore::Complex  val)
inlineprotected

Definition at line 373 of file FlagDataHandler.h.

void casa::VisMapper::setExpressionMapping ( casacore::String  expression,
polarizationMap polMap 
)
protected
void casa::VisMapper::setParentCubes ( CubeView< casacore::Complex > *  leftVis,
CubeView< casacore::Complex > *  rightVis = NULL 
)
const casacore::IPosition& casa::VisMapper::shape ( ) const
inline

NOTE: reducedLength_p is defined as [chan,row,pol].

Definition at line 350 of file FlagDataHandler.h.

References reducedLength_p.

void casa::VisMapper::shape ( casacore::Int chan,
casacore::Int row 
) const
inline

Definition at line 355 of file FlagDataHandler.h.

References reducedLength_p.

void casa::VisMapper::shape ( casacore::Int pol,
casacore::Int chan,
casacore::Int row 
) const
inline

Definition at line 362 of file FlagDataHandler.h.

References reducedLength_p.

casacore::Complex casa::VisMapper::stokes_i ( casacore::uInt  pol,
casacore::uInt  chan 
)
protected
casacore::Complex casa::VisMapper::stokes_i_from_circular ( casacore::uInt  chan,
casacore::uInt  row 
)
protected
casacore::Complex casa::VisMapper::stokes_i_from_linear ( casacore::uInt  chan,
casacore::uInt  row 
)
protected
casacore::Complex casa::VisMapper::stokes_q ( casacore::uInt  pol,
casacore::uInt  chan 
)
protected
casacore::Complex casa::VisMapper::stokes_q_from_circular ( casacore::uInt  chan,
casacore::uInt  row 
)
protected
casacore::Complex casa::VisMapper::stokes_q_from_linear ( casacore::uInt  chan,
casacore::uInt  row 
)
protected
casacore::Complex casa::VisMapper::stokes_u ( casacore::uInt  pol,
casacore::uInt  chan 
)
protected
casacore::Complex casa::VisMapper::stokes_u_from_circular ( casacore::uInt  chan,
casacore::uInt  row 
)
protected
casacore::Complex casa::VisMapper::stokes_u_from_linear ( casacore::uInt  chan,
casacore::uInt  row 
)
protected
casacore::Complex casa::VisMapper::stokes_v ( casacore::uInt  pol,
casacore::uInt  chan 
)
protected
casacore::Complex casa::VisMapper::stokes_v_from_circular ( casacore::uInt  chan,
casacore::uInt  row 
)
protected
casacore::Complex casa::VisMapper::stokes_v_from_linear ( casacore::uInt  chan,
casacore::uInt  row 
)
protected

Member Data Documentation

casacore::Float(casa::VisMapper::* casa::VisMapper::applyVisExpr_p)(casacore::Complex)
private

Definition at line 407 of file FlagDataHandler.h.

casacore::String casa::VisMapper::expression_p
private

Definition at line 417 of file FlagDataHandler.h.

casacore::Complex(casa::VisMapper::* casa::VisMapper::getVis_p)(casacore::uInt, casacore::uInt, casacore::uInt)
private

Definition at line 408 of file FlagDataHandler.h.

CubeView<casacore::Complex>* casa::VisMapper::leftVis_p
private

Definition at line 413 of file FlagDataHandler.h.

polarizationMap* casa::VisMapper::polMap_p
private

Definition at line 416 of file FlagDataHandler.h.

casacore::IPosition casa::VisMapper::reducedLength_p
private

Definition at line 415 of file FlagDataHandler.h.

Referenced by shape().

CubeView<casacore::Complex>* casa::VisMapper::rightVis_p
private

Definition at line 414 of file FlagDataHandler.h.

std::vector<corrProduct> casa::VisMapper::selectedCorrelationProducts_p
private

casacore::Complex (casa::VisMapper::*getCorr_p)(casacore::uInt,casacore::uInt);

Definition at line 410 of file FlagDataHandler.h.

std::vector< std::vector<casacore::uInt> > casa::VisMapper::selectedCorrelations_p
private

Definition at line 411 of file FlagDataHandler.h.

Referenced by getSelectedCorrelations().

std::vector<string> casa::VisMapper::selectedCorrelationStrings_p
private

Definition at line 412 of file FlagDataHandler.h.

Referenced by getSelectedCorrelationStrings().


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