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

#include <BaselineTable.h>

Public Member Functions

 BaselineTable ()
 
 BaselineTable (const casacore::MeasurementSet &parent)
 
 BaselineTable (const casacore::String &name)
 
virtual ~BaselineTable ()
 
void setup ()
 
const casacore::Stringname () const
 
const casacore::Tabletable () const
 
casacore::Table table ()
 
void attach ()
 
void attachBaseColumns ()
 
void attachOptionalColumns ()
 
casacore::uInt nrow ()
 
casacore::uInt getScan (casacore::uInt irow) const
 
casacore::uInt getBeam (casacore::uInt irow) const
 
casacore::uInt getAntenna (casacore::uInt irow) const
 
uint getSpw (casacore::uInt irow) const
 
double getTime (casacore::uInt irow) const
 
bool getApply (casacore::uInt irow, casacore::uInt ipol) const
 
uint getBaselineType (casacore::uInt irow, casacore::uInt ipol) const
 
int getFPar (casacore::uInt irow, casacore::uInt ipol) const
 
void setdata (casacore::uInt irow, casacore::uInt scanno, casacore::uInt beamno, casacore::uInt antno, casacore::uInt ifno, casacore::uInt freqid, casacore::Double time, casacore::Array< casacore::Bool > apply, casacore::Array< casacore::uInt > ftype, casacore::Array< casacore::Int > fpar, casacore::Array< casacore::Float > ffpar, casacore::Array< casacore::uInt > mask, casacore::Array< casacore::Float > res, casacore::Array< casacore::Float > rms, casacore::uInt nchan, casacore::Array< casacore::Float > cthres, casacore::Array< casacore::uInt > citer, casacore::Array< casacore::Bool > uself, casacore::Array< casacore::Float > lfthres, casacore::Array< casacore::uInt > lfavg, casacore::Array< casacore::uInt > lfedge)
 
void appenddata (casacore::uInt scanno, casacore::uInt beamno, casacore::uInt antno, casacore::uInt ifno, casacore::uInt freqid, casacore::Double time, casacore::Array< casacore::Bool > apply, casacore::Array< casacore::uInt > ftype, casacore::Array< casacore::Int > fpar, casacore::Array< casacore::Float > ffpar, casacore::Array< casacore::uInt > mask, casacore::Array< casacore::Float > res, casacore::Array< casacore::Float > rms, casacore::uInt nchan, casacore::Array< casacore::Float > cthres, casacore::Array< casacore::uInt > citer, casacore::Array< casacore::Bool > uself, casacore::Array< casacore::Float > lfthres, casacore::Array< casacore::uInt > lfavg, casacore::Array< casacore::uInt > lfedge)
 
void appendbasedata (int scanno, int beamno, int antno, int ifno, int freqid, casacore::Double time)
 
void setresult (casacore::uInt irow, casacore::Vector< casacore::Float > res, casacore::Array< casacore::Float > rms)
 
void save (const std::string &filename)
 
casacore::uInt nchan (casacore::uInt ifno)
 
casacore::Matrix< casacore::BoolgetApply ()
 
void setApply (int irow, int ipol, bool apply)
 
casacore::Matrix< casacore::IntgetFuncParam ()
 
casacore::Matrix< casacore::IntgetFuncParam (casacore::uInt irow)
 
casacore::Matrix< casacore::FloatgetFuncFParam ()
 
casacore::Matrix< casacore::FloatgetFuncFParam (casacore::uInt irow)
 
casacore::Matrix< casacore::uIntgetMaskList ()
 
casacore::Matrix< casacore::FloatgetResult ()
 
casacore::Matrix< casacore::FloatgetResult (casacore::uInt irow)
 
casacore::Matrix< casacore::FloatgetRms ()
 
casacore::Vector< casacore::uIntgetNChan ()
 
casacore::uInt getNChan (int irow)
 
casacore::Matrix< casacore::FloatgetClipThreshold ()
 
casacore::Matrix< casacore::uIntgetClipIteration ()
 
casacore::Matrix< casacore::BoolgetUseLineFinder ()
 
casacore::Matrix< casacore::FloatgetLineFinderThreshold ()
 
casacore::Matrix< casacore::uIntgetLineFinderChanAvg ()
 
casacore::Matrix< casacore::uIntgetLineFinderEdge ()
 
std::vector< bool > getMaskFromMaskList (casacore::uInt const nchan, std::vector< int > const &masklist)
 

Private Member Functions

void setbasedata (casacore::uInt irow, casacore::uInt scanno, casacore::uInt beamno, casacore::uInt antno, casacore::uInt ifno, casacore::uInt freqid, casacore::Double time)
 

Private Attributes

casacore::Table table_
 
casacore::Table originaltable_
 
casacore::ScalarColumn
< casacore::uInt
scanCol_
 
casacore::ScalarColumn
< casacore::uInt
beamCol_
 
casacore::ScalarColumn
< casacore::uInt
antCol_
 
casacore::ScalarColumn
< casacore::uInt
ifCol_
 
casacore::ScalarColumn
< casacore::uInt
freqidCol_
 
casacore::ScalarColumn
< casacore::Double
timeCol_
 
casacore::MEpoch::ScalarColumn timeMeasCol_
 
casacore::ArrayColumn
< casacore::Bool
applyCol_
 
casacore::ArrayColumn
< casacore::uInt
ftypeCol_
 
casacore::ArrayColumn
< casacore::Int
fparCol_
 
casacore::ArrayColumn
< casacore::Float
ffparCol_
 
casacore::ArrayColumn
< casacore::uInt
maskCol_
 
casacore::ArrayColumn
< casacore::Float
resCol_
 
casacore::ArrayColumn
< casacore::Float
rmsCol_
 
casacore::ScalarColumn
< casacore::uInt
nchanCol_
 
casacore::ArrayColumn
< casacore::Float
cthresCol_
 
casacore::ArrayColumn
< casacore::uInt
citerCol_
 
casacore::ArrayColumn
< casacore::Bool
uselfCol_
 
casacore::ArrayColumn
< casacore::Float
lfthresCol_
 
casacore::ArrayColumn
< casacore::uInt
lfavgCol_
 
casacore::ArrayColumn
< casacore::uInt
lfedgeCol_
 

Static Private Attributes

static const casacore::String name_
 

Detailed Description

Definition at line 49 of file BaselineTable.h.

Constructor & Destructor Documentation

casa::BaselineTable::BaselineTable ( )
inline

Definition at line 51 of file BaselineTable.h.

casa::BaselineTable::BaselineTable ( const casacore::MeasurementSet parent)
casa::BaselineTable::BaselineTable ( const casacore::String name)
virtual casa::BaselineTable::~BaselineTable ( )
virtual

Member Function Documentation

void casa::BaselineTable::appendbasedata ( int  scanno,
int  beamno,
int  antno,
int  ifno,
int  freqid,
casacore::Double  time 
)
void casa::BaselineTable::attach ( )
void casa::BaselineTable::attachBaseColumns ( )
void casa::BaselineTable::attachOptionalColumns ( )
casacore::uInt casa::BaselineTable::getAntenna ( casacore::uInt  irow) const
inline

Definition at line 70 of file BaselineTable.h.

References antCol_, and casacore::ScalarColumn< T >::get().

bool casa::BaselineTable::getApply ( casacore::uInt  irow,
casacore::uInt  ipol 
) const
casacore::Matrix<casacore::Bool> casa::BaselineTable::getApply ( )
inline

Definition at line 120 of file BaselineTable.h.

References applyCol_, and casacore::ArrayColumn< T >::getColumn().

uint casa::BaselineTable::getBaselineType ( casacore::uInt  irow,
casacore::uInt  ipol 
) const
casacore::uInt casa::BaselineTable::getBeam ( casacore::uInt  irow) const
inline

Definition at line 69 of file BaselineTable.h.

References beamCol_, and casacore::ScalarColumn< T >::get().

casacore::Matrix<casacore::uInt> casa::BaselineTable::getClipIteration ( )
inline

Definition at line 133 of file BaselineTable.h.

References citerCol_, and casacore::ArrayColumn< T >::getColumn().

casacore::Matrix<casacore::Float> casa::BaselineTable::getClipThreshold ( )
inline

Definition at line 132 of file BaselineTable.h.

References cthresCol_, and casacore::ArrayColumn< T >::getColumn().

int casa::BaselineTable::getFPar ( casacore::uInt  irow,
casacore::uInt  ipol 
) const
casacore::Matrix<casacore::Float> casa::BaselineTable::getFuncFParam ( )
inline

Definition at line 124 of file BaselineTable.h.

References ffparCol_, and casacore::ArrayColumn< T >::getColumn().

casacore::Matrix<casacore::Float> casa::BaselineTable::getFuncFParam ( casacore::uInt  irow)
inline

Definition at line 125 of file BaselineTable.h.

References ffparCol_, and casacore::ArrayColumn< T >::get().

casacore::Matrix<casacore::Int> casa::BaselineTable::getFuncParam ( )
inline

Definition at line 122 of file BaselineTable.h.

References fparCol_, and casacore::ArrayColumn< T >::getColumn().

casacore::Matrix<casacore::Int> casa::BaselineTable::getFuncParam ( casacore::uInt  irow)
inline

Definition at line 123 of file BaselineTable.h.

References fparCol_, and casacore::ArrayColumn< T >::get().

casacore::Matrix<casacore::uInt> casa::BaselineTable::getLineFinderChanAvg ( )
inline

Definition at line 136 of file BaselineTable.h.

References casacore::ArrayColumn< T >::getColumn(), and lfavgCol_.

casacore::Matrix<casacore::uInt> casa::BaselineTable::getLineFinderEdge ( )
inline

Definition at line 137 of file BaselineTable.h.

References casacore::ArrayColumn< T >::getColumn(), and lfedgeCol_.

casacore::Matrix<casacore::Float> casa::BaselineTable::getLineFinderThreshold ( )
inline

Definition at line 135 of file BaselineTable.h.

References casacore::ArrayColumn< T >::getColumn(), and lfthresCol_.

std::vector<bool> casa::BaselineTable::getMaskFromMaskList ( casacore::uInt const  nchan,
std::vector< int > const &  masklist 
)
casacore::Matrix<casacore::uInt> casa::BaselineTable::getMaskList ( )
inline

Definition at line 126 of file BaselineTable.h.

References casacore::ArrayColumn< T >::getColumn(), and maskCol_.

casacore::Vector<casacore::uInt> casa::BaselineTable::getNChan ( )
inline

Definition at line 130 of file BaselineTable.h.

References casacore::ScalarColumn< T >::getColumn(), and nchanCol_.

casacore::uInt casa::BaselineTable::getNChan ( int  irow)
casacore::Matrix<casacore::Float> casa::BaselineTable::getResult ( )
inline

Definition at line 127 of file BaselineTable.h.

References casacore::ArrayColumn< T >::getColumn(), and resCol_.

casacore::Matrix<casacore::Float> casa::BaselineTable::getResult ( casacore::uInt  irow)
inline

Definition at line 128 of file BaselineTable.h.

References casacore::ArrayColumn< T >::get(), and resCol_.

casacore::Matrix<casacore::Float> casa::BaselineTable::getRms ( )
inline

Definition at line 129 of file BaselineTable.h.

References casacore::ArrayColumn< T >::getColumn(), and rmsCol_.

casacore::uInt casa::BaselineTable::getScan ( casacore::uInt  irow) const
inline

Definition at line 68 of file BaselineTable.h.

References casacore::ScalarColumn< T >::get(), and scanCol_.

uint casa::BaselineTable::getSpw ( casacore::uInt  irow) const
inline

Definition at line 71 of file BaselineTable.h.

References casacore::ScalarColumn< T >::get(), and ifCol_.

double casa::BaselineTable::getTime ( casacore::uInt  irow) const
inline

Definition at line 72 of file BaselineTable.h.

References casacore::ScalarColumn< T >::get(), and timeCol_.

casacore::Matrix<casacore::Bool> casa::BaselineTable::getUseLineFinder ( )
inline

Definition at line 134 of file BaselineTable.h.

References casacore::ArrayColumn< T >::getColumn(), and uselfCol_.

const casacore::String& casa::BaselineTable::name ( ) const
inline

Definition at line 58 of file BaselineTable.h.

References name_.

casacore::uInt casa::BaselineTable::nchan ( casacore::uInt  ifno)
casacore::uInt casa::BaselineTable::nrow ( )
inline

Definition at line 66 of file BaselineTable.h.

References casacore::Table::nrow(), and table_.

void casa::BaselineTable::save ( const std::string &  filename)
void casa::BaselineTable::setApply ( int  irow,
int  ipol,
bool  apply 
)
void casa::BaselineTable::setbasedata ( casacore::uInt  irow,
casacore::uInt  scanno,
casacore::uInt  beamno,
casacore::uInt  antno,
casacore::uInt  ifno,
casacore::uInt  freqid,
casacore::Double  time 
)
private
void casa::BaselineTable::setresult ( casacore::uInt  irow,
casacore::Vector< casacore::Float res,
casacore::Array< casacore::Float rms 
)
void casa::BaselineTable::setup ( )
const casacore::Table& casa::BaselineTable::table ( ) const
inline

Definition at line 60 of file BaselineTable.h.

References table_.

casacore::Table casa::BaselineTable::table ( )
inline

Definition at line 61 of file BaselineTable.h.

References table_.

Member Data Documentation

casacore::ScalarColumn<casacore::uInt> casa::BaselineTable::antCol_
private

Definition at line 145 of file BaselineTable.h.

Referenced by getAntenna().

casacore::ArrayColumn<casacore::Bool> casa::BaselineTable::applyCol_
private

Definition at line 150 of file BaselineTable.h.

Referenced by getApply().

casacore::ScalarColumn<casacore::uInt> casa::BaselineTable::beamCol_
private

Definition at line 145 of file BaselineTable.h.

Referenced by getBeam().

casacore::ArrayColumn<casacore::uInt> casa::BaselineTable::citerCol_
private

Definition at line 159 of file BaselineTable.h.

Referenced by getClipIteration().

casacore::ArrayColumn<casacore::Float> casa::BaselineTable::cthresCol_
private

Definition at line 158 of file BaselineTable.h.

Referenced by getClipThreshold().

casacore::ArrayColumn<casacore::Float> casa::BaselineTable::ffparCol_
private

Definition at line 153 of file BaselineTable.h.

Referenced by getFuncFParam().

casacore::ArrayColumn<casacore::Int> casa::BaselineTable::fparCol_
private

Definition at line 152 of file BaselineTable.h.

Referenced by getFuncParam().

casacore::ScalarColumn<casacore::uInt> casa::BaselineTable::freqidCol_
private

Definition at line 145 of file BaselineTable.h.

casacore::ArrayColumn<casacore::uInt> casa::BaselineTable::ftypeCol_
private

Definition at line 151 of file BaselineTable.h.

casacore::ScalarColumn<casacore::uInt> casa::BaselineTable::ifCol_
private

Definition at line 145 of file BaselineTable.h.

Referenced by getSpw().

casacore::ArrayColumn<casacore::uInt> casa::BaselineTable::lfavgCol_
private

Definition at line 162 of file BaselineTable.h.

Referenced by getLineFinderChanAvg().

casacore::ArrayColumn<casacore::uInt> casa::BaselineTable::lfedgeCol_
private

Definition at line 163 of file BaselineTable.h.

Referenced by getLineFinderEdge().

casacore::ArrayColumn<casacore::Float> casa::BaselineTable::lfthresCol_
private

Definition at line 161 of file BaselineTable.h.

Referenced by getLineFinderThreshold().

casacore::ArrayColumn<casacore::uInt> casa::BaselineTable::maskCol_
private

Definition at line 154 of file BaselineTable.h.

Referenced by getMaskList().

const casacore::String casa::BaselineTable::name_
staticprivate

Definition at line 148 of file BaselineTable.h.

Referenced by name().

casacore::ScalarColumn<casacore::uInt> casa::BaselineTable::nchanCol_
private

Definition at line 157 of file BaselineTable.h.

Referenced by getNChan().

casacore::Table casa::BaselineTable::originaltable_
private

Definition at line 144 of file BaselineTable.h.

casacore::ArrayColumn<casacore::Float> casa::BaselineTable::resCol_
private

Definition at line 155 of file BaselineTable.h.

Referenced by getResult().

casacore::ArrayColumn<casacore::Float> casa::BaselineTable::rmsCol_
private

Definition at line 156 of file BaselineTable.h.

Referenced by getRms().

casacore::ScalarColumn<casacore::uInt> casa::BaselineTable::scanCol_
private

Definition at line 145 of file BaselineTable.h.

Referenced by getScan().

casacore::Table casa::BaselineTable::table_
private

Definition at line 144 of file BaselineTable.h.

Referenced by nrow(), and table().

casacore::ScalarColumn<casacore::Double> casa::BaselineTable::timeCol_
private

Definition at line 146 of file BaselineTable.h.

Referenced by getTime().

casacore::MEpoch::ScalarColumn casa::BaselineTable::timeMeasCol_
private

Definition at line 147 of file BaselineTable.h.

casacore::ArrayColumn<casacore::Bool> casa::BaselineTable::uselfCol_
private

Definition at line 160 of file BaselineTable.h.

Referenced by getUseLineFinder().


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