27 #ifndef FLAGGING_RFDATAMAPPER_H
28 #define FLAGGING_RFDATAMAPPER_H
casacore::Cube< casacore::Complex > *(* CubeMapperFunc)(VisBuffer &)
a cube mapper function maps a visbuffer to a data cube.
casacore::Double sin_dec
required by the HA mapper - sin(declination) of phase center;
casacore::uInt RFlagWord
RFAs use bitwise flags.
Abstract Derived casacore::Data Mapper class.
casacore::Double getValueBase()
Returns base of a cyclic value (e.g.
casacore::Float HA_RowMapper(casacore::uInt)
casacore::String descExpression() const
returns description of expression
RFDataMapper(const casacore::String &col, DDMapper *map)
construct from a column and a DDMapper
casacore::Double cycle_base
void setVisBuffer(VisBuffer &vb)
point the datamapper at a visbuffer - called for every new buffer
~RFDataMapper()
destructor
casacore::String expr_desc
casacore::Float UVA_RowMapper(casacore::uInt)
static CubeMapperFunc getCubeMapper(const casacore::String &col, casacore::Bool throw_excp=false)
static helper function to interpret constructor parameters into a cube mapper
RFlagWord corrMask(const VisibilityIterator &vi)
uses mapper to compute a correlations mask
casacore::Double full_cycle
casacore::Float AbsV_RowMapper(casacore::uInt)
casacore::Float W_RowMapper(casacore::uInt)
casacore::Float AbsW_RowMapper(casacore::uInt)
casacore::Float AbsU_RowMapper(casacore::uInt)
casacore::Float(RFDataMapper::* RowMapperFunc)(casacore::uInt)
a row mapper member function maps a row to a single value
bool Bool
Define the standard types used by Casacore.
virtual casacore::Float map(const casacore::Cube< casacore::Complex > &vis, casacore::uInt ich, casacore::uInt irow) const =0
Maps a slice of visibilities at (*,ich,irow) from the given viscube into a the derived value...
MapperType type()
returns type of mapper
casacore::Float mapValue(casacore::uInt ich, casacore::uInt irow)
gets a value from the DDMapper
casacore::Cube< casacore::Complex > * pviscube
Base class for all Casacore library errors.
MapperType
type of data mapper: row or individual correlations
String: the storage and methods of handling collections of characters.
VisBuffers encapsulate one chunk of visibility data for processing.
VisibilityIterator iterates through one or more writable MeasurementSets.
casacore::Float dummyRowMapper(casacore::uInt)
various row mappers
casacore::Double getValueCycle()
If the value being mapped into is cyclic (i.e.
casacore::Float V_RowMapper(casacore::uInt)
casacore::Float UVD_RowMapper(casacore::uInt)
casacore::Float U_RowMapper(casacore::uInt)
casacore::Vector< casacore::RigidVector< casacore::Double, 3 > > * puvw
casacore::String description() const
returns description
RFDataMapper: maps complex visibilities to a single real value.