casa::VisMapper Class Reference

#include <FlagDataHandler.h>

List of all members.

Public Types

enum  calsolutions {
  CALSOL1,
  CALSOL2,
  CALSOL3,
  CALSOL4
}

Public Member Functions

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

Protected Member Functions

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

Private Types

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

Private Attributes

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

Detailed Description

Definition at line 336 of file FlagDataHandler.h.


Member Typedef Documentation

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

Definition at line 338 of file FlagDataHandler.h.


Member Enumeration Documentation

Enumerator:
CALSOL1 
CALSOL2 
CALSOL3 
CALSOL4 

Definition at line 342 of file FlagDataHandler.h.


Constructor & Destructor Documentation

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

Member Function Documentation

Float casa::VisMapper::abs ( Complex  val  )  [inline, protected]

Definition at line 391 of file FlagDataHandler.h.

Float casa::VisMapper::arg ( Complex  val  )  [inline, protected]

Definition at line 392 of file FlagDataHandler.h.

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

Direct access to the complex correlation product.

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

Definition at line 356 of file FlagDataHandler.h.

References selectedCorrelations_p.

vector< string > casa::VisMapper::getSelectedCorrelationStrings (  )  [inline]

Definition at line 357 of file FlagDataHandler.h.

References selectedCorrelationStrings_p.

Float casa::VisMapper::imag ( Complex  val  )  [inline, protected]

Definition at line 390 of file FlagDataHandler.h.

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

Definition at line 393 of file FlagDataHandler.h.

Float casa::VisMapper::operator() ( uInt  pol,
uInt  chan,
uInt  row 
)
Float casa::VisMapper::operator() ( uInt  chan,
uInt  row 
)
Float casa::VisMapper::real ( Complex  val  )  [inline, protected]

Definition at line 389 of file FlagDataHandler.h.

void casa::VisMapper::setExpressionMapping ( String  expression,
polarizationMap polMap 
) [protected]
void casa::VisMapper::setParentCubes ( CubeView< Complex > *  leftVis,
CubeView< Complex > *  rightVis = NULL 
)
void casa::VisMapper::shape ( Int &  pol,
Int &  chan,
Int &  row 
) const [inline]

Definition at line 378 of file FlagDataHandler.h.

References reducedLength_p.

void casa::VisMapper::shape ( Int &  chan,
Int &  row 
) const [inline]

Definition at line 371 of file FlagDataHandler.h.

References reducedLength_p.

const IPosition& casa::VisMapper::shape (  )  const [inline]

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

Definition at line 366 of file FlagDataHandler.h.

References reducedLength_p.

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

Member Data Documentation

Float(casa::VisMapper::* casa::VisMapper::applyVisExpr_p)(Complex) [private]

Definition at line 433 of file FlagDataHandler.h.

Complex(casa::VisMapper::* casa::VisMapper::getCorr_p)(uInt, uInt) [private]
Complex(casa::VisMapper::* casa::VisMapper::getVis_p)(uInt, uInt, uInt) [private]
CubeView<Complex>* casa::VisMapper::leftVis_p [private]

Definition at line 429 of file FlagDataHandler.h.

Definition at line 432 of file FlagDataHandler.h.

IPosition casa::VisMapper::reducedLength_p [private]

Definition at line 431 of file FlagDataHandler.h.

Referenced by shape().

Definition at line 430 of file FlagDataHandler.h.

Definition at line 426 of file FlagDataHandler.h.

vector< vector<uInt> > casa::VisMapper::selectedCorrelations_p [private]

Definition at line 427 of file FlagDataHandler.h.

Referenced by getSelectedCorrelations().

Definition at line 428 of file FlagDataHandler.h.

Referenced by getSelectedCorrelationStrings().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1