casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Attributes
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 IPositionshape () const
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 331 of file FlagDataHandler.h.


Member Typedef Documentation

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

Definition at line 333 of file FlagDataHandler.h.


Member Enumeration Documentation

Enumerator:
CALSOL1 
CALSOL2 
CALSOL3 
CALSOL4 

Definition at line 337 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 
)

Member Function Documentation

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

Definition at line 385 of file FlagDataHandler.h.

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

Definition at line 386 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 351 of file FlagDataHandler.h.

References selectedCorrelations_p.

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

Definition at line 352 of file FlagDataHandler.h.

References selectedCorrelationStrings_p.

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

Definition at line 384 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 387 of file FlagDataHandler.h.

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

Definition at line 383 of file FlagDataHandler.h.

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

Definition at line 360 of file FlagDataHandler.h.

References reducedLength_p.

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

Definition at line 365 of file FlagDataHandler.h.

References reducedLength_p.

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

Definition at line 372 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 417 of file FlagDataHandler.h.

Definition at line 427 of file FlagDataHandler.h.

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

Definition at line 419 of file FlagDataHandler.h.

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

Definition at line 418 of file FlagDataHandler.h.

CubeView<Complex>* casa::VisMapper::leftVis_p [private]

Definition at line 423 of file FlagDataHandler.h.

Definition at line 426 of file FlagDataHandler.h.

Definition at line 425 of file FlagDataHandler.h.

Referenced by shape().

Definition at line 424 of file FlagDataHandler.h.

Definition at line 420 of file FlagDataHandler.h.

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

Definition at line 421 of file FlagDataHandler.h.

Referenced by getSelectedCorrelations().

Definition at line 422 of file FlagDataHandler.h.

Referenced by getSelectedCorrelationStrings().


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