#include <BaselineTable.h>
Public Member Functions | |
BaselineTable () | |
BaselineTable (const MeasurementSet &parent) | |
BaselineTable (const String &name) | |
virtual | ~BaselineTable () |
void | setup () |
const String & | name () const |
const Table & | table () const |
Table | table () |
void | attach () |
void | attachBaseColumns () |
void | attachOptionalColumns () |
uInt | nrow () |
uInt | getScan (uInt irow) const |
uInt | getBeam (uInt irow) const |
uInt | getAntenna (uInt irow) const |
uint | getSpw (uInt irow) const |
double | getTime (uInt irow) const |
bool | getApply (uInt irow, uInt ipol) const |
uint | getBaselineType (uInt irow, uInt ipol) const |
int | getFPar (uInt irow, uInt ipol) const |
void | setdata (uInt irow, uInt scanno, uInt beamno, uInt antno, uInt ifno, uInt freqid, Double time, Array< Bool > apply, Array< uInt > ftype, Array< Int > fpar, Array< Float > ffpar, Array< uInt > mask, Array< Float > res, Array< Float > rms, uInt nchan, Array< Float > cthres, Array< uInt > citer, Array< Bool > uself, Array< Float > lfthres, Array< uInt > lfavg, Array< uInt > lfedge) |
void | appenddata (uInt scanno, uInt beamno, uInt antno, uInt ifno, uInt freqid, Double time, Array< Bool > apply, Array< uInt > ftype, Array< Int > fpar, Array< Float > ffpar, Array< uInt > mask, Array< Float > res, Array< Float > rms, uInt nchan, Array< Float > cthres, Array< uInt > citer, Array< Bool > uself, Array< Float > lfthres, Array< uInt > lfavg, Array< uInt > lfedge) |
void | appendbasedata (int scanno, int beamno, int antno, int ifno, int freqid, Double time) |
void | setresult (uInt irow, Vector< Float > res, Array< Float > rms) |
void | save (const std::string &filename) |
uInt | nchan (uInt ifno) |
Matrix< Bool > | getApply () |
void | setApply (int irow, int ipol, bool apply) |
Matrix< Int > | getFuncParam () |
Matrix< Int > | getFuncParam (uInt irow) |
Matrix< Float > | getFuncFParam () |
Matrix< Float > | getFuncFParam (uInt irow) |
Matrix< uInt > | getMaskList () |
Matrix< Float > | getResult () |
Matrix< Float > | getResult (uInt irow) |
Matrix< Float > | getRms () |
Vector< uInt > | getNChan () |
uInt | getNChan (int irow) |
Matrix< Float > | getClipThreshold () |
Matrix< uInt > | getClipIteration () |
Matrix< Bool > | getUseLineFinder () |
Matrix< Float > | getLineFinderThreshold () |
Matrix< uInt > | getLineFinderChanAvg () |
Matrix< uInt > | getLineFinderEdge () |
std::vector< bool > | getMaskFromMaskList (uInt const nchan, std::vector< int > const &masklist) |
Private Member Functions | |
void | setbasedata (uInt irow, uInt scanno, uInt beamno, uInt antno, uInt ifno, uInt freqid, Double time) |
Private Attributes | |
Table | table_ |
Table | originaltable_ |
ScalarColumn< uInt > | scanCol_ |
ScalarColumn< uInt > | beamCol_ |
ScalarColumn< uInt > | antCol_ |
ScalarColumn< uInt > | ifCol_ |
ScalarColumn< uInt > | freqidCol_ |
ScalarColumn< Double > | timeCol_ |
MEpoch::ScalarColumn | timeMeasCol_ |
ArrayColumn< Bool > | applyCol_ |
ArrayColumn< uInt > | ftypeCol_ |
ArrayColumn< Int > | fparCol_ |
ArrayColumn< Float > | ffparCol_ |
ArrayColumn< uInt > | maskCol_ |
ArrayColumn< Float > | resCol_ |
ArrayColumn< Float > | rmsCol_ |
ScalarColumn< uInt > | nchanCol_ |
ArrayColumn< Float > | cthresCol_ |
ArrayColumn< uInt > | citerCol_ |
ArrayColumn< Bool > | uselfCol_ |
ArrayColumn< Float > | lfthresCol_ |
ArrayColumn< uInt > | lfavgCol_ |
ArrayColumn< uInt > | lfedgeCol_ |
Static Private Attributes | |
static const String | name_ |
Definition at line 49 of file BaselineTable.h.
casa::BaselineTable::BaselineTable | ( | ) | [inline] |
Definition at line 51 of file BaselineTable.h.
casa::BaselineTable::BaselineTable | ( | const MeasurementSet & | parent | ) |
casa::BaselineTable::BaselineTable | ( | const String & | name | ) |
virtual casa::BaselineTable::~BaselineTable | ( | ) | [virtual] |
void casa::BaselineTable::appendbasedata | ( | int | scanno, | |
int | beamno, | |||
int | antno, | |||
int | ifno, | |||
int | freqid, | |||
Double | time | |||
) |
void casa::BaselineTable::appenddata | ( | uInt | scanno, | |
uInt | beamno, | |||
uInt | antno, | |||
uInt | ifno, | |||
uInt | freqid, | |||
Double | time, | |||
Array< Bool > | apply, | |||
Array< uInt > | ftype, | |||
Array< Int > | fpar, | |||
Array< Float > | ffpar, | |||
Array< uInt > | mask, | |||
Array< Float > | res, | |||
Array< Float > | rms, | |||
uInt | nchan, | |||
Array< Float > | cthres, | |||
Array< uInt > | citer, | |||
Array< Bool > | uself, | |||
Array< Float > | lfthres, | |||
Array< uInt > | lfavg, | |||
Array< uInt > | lfedge | |||
) |
void casa::BaselineTable::attach | ( | ) |
void casa::BaselineTable::attachBaseColumns | ( | ) |
void casa::BaselineTable::attachOptionalColumns | ( | ) |
uInt casa::BaselineTable::getAntenna | ( | uInt | irow | ) | const [inline] |
Definition at line 70 of file BaselineTable.h.
References antCol_.
Matrix<Bool> casa::BaselineTable::getApply | ( | ) | [inline] |
Definition at line 120 of file BaselineTable.h.
References applyCol_.
bool casa::BaselineTable::getApply | ( | uInt | irow, | |
uInt | ipol | |||
) | const |
uint casa::BaselineTable::getBaselineType | ( | uInt | irow, | |
uInt | ipol | |||
) | const |
uInt casa::BaselineTable::getBeam | ( | uInt | irow | ) | const [inline] |
Definition at line 69 of file BaselineTable.h.
References beamCol_.
Matrix<uInt> casa::BaselineTable::getClipIteration | ( | ) | [inline] |
Definition at line 133 of file BaselineTable.h.
References citerCol_.
Matrix<Float> casa::BaselineTable::getClipThreshold | ( | ) | [inline] |
Definition at line 132 of file BaselineTable.h.
References cthresCol_.
int casa::BaselineTable::getFPar | ( | uInt | irow, | |
uInt | ipol | |||
) | const |
Matrix<Float> casa::BaselineTable::getFuncFParam | ( | uInt | irow | ) | [inline] |
Definition at line 125 of file BaselineTable.h.
References ffparCol_.
Matrix<Float> casa::BaselineTable::getFuncFParam | ( | ) | [inline] |
Definition at line 124 of file BaselineTable.h.
References ffparCol_.
Matrix<Int> casa::BaselineTable::getFuncParam | ( | uInt | irow | ) | [inline] |
Definition at line 123 of file BaselineTable.h.
References fparCol_.
Matrix<Int> casa::BaselineTable::getFuncParam | ( | ) | [inline] |
Definition at line 122 of file BaselineTable.h.
References fparCol_.
Matrix<uInt> casa::BaselineTable::getLineFinderChanAvg | ( | ) | [inline] |
Definition at line 136 of file BaselineTable.h.
References lfavgCol_.
Matrix<uInt> casa::BaselineTable::getLineFinderEdge | ( | ) | [inline] |
Definition at line 137 of file BaselineTable.h.
References lfedgeCol_.
Matrix<Float> casa::BaselineTable::getLineFinderThreshold | ( | ) | [inline] |
Definition at line 135 of file BaselineTable.h.
References lfthresCol_.
std::vector<bool> casa::BaselineTable::getMaskFromMaskList | ( | uInt const | nchan, | |
std::vector< int > const & | masklist | |||
) |
Matrix<uInt> casa::BaselineTable::getMaskList | ( | ) | [inline] |
Definition at line 126 of file BaselineTable.h.
References maskCol_.
uInt casa::BaselineTable::getNChan | ( | int | irow | ) |
Vector<uInt> casa::BaselineTable::getNChan | ( | ) | [inline] |
Definition at line 130 of file BaselineTable.h.
References nchanCol_.
Matrix<Float> casa::BaselineTable::getResult | ( | uInt | irow | ) | [inline] |
Definition at line 128 of file BaselineTable.h.
References resCol_.
Matrix<Float> casa::BaselineTable::getResult | ( | ) | [inline] |
Definition at line 127 of file BaselineTable.h.
References resCol_.
Matrix<Float> casa::BaselineTable::getRms | ( | ) | [inline] |
Definition at line 129 of file BaselineTable.h.
References rmsCol_.
uInt casa::BaselineTable::getScan | ( | uInt | irow | ) | const [inline] |
Definition at line 68 of file BaselineTable.h.
References scanCol_.
uint casa::BaselineTable::getSpw | ( | uInt | irow | ) | const [inline] |
Definition at line 71 of file BaselineTable.h.
References ifCol_.
double casa::BaselineTable::getTime | ( | uInt | irow | ) | const [inline] |
Definition at line 72 of file BaselineTable.h.
References timeCol_.
Matrix<Bool> casa::BaselineTable::getUseLineFinder | ( | ) | [inline] |
Definition at line 134 of file BaselineTable.h.
References uselfCol_.
const String& casa::BaselineTable::name | ( | ) | const [inline] |
Definition at line 58 of file BaselineTable.h.
References name_.
uInt casa::BaselineTable::nchan | ( | uInt | ifno | ) |
uInt casa::BaselineTable::nrow | ( | ) | [inline] |
Definition at line 66 of file BaselineTable.h.
References table_.
void casa::BaselineTable::save | ( | const std::string & | filename | ) |
void casa::BaselineTable::setApply | ( | int | irow, | |
int | ipol, | |||
bool | apply | |||
) |
void casa::BaselineTable::setbasedata | ( | uInt | irow, | |
uInt | scanno, | |||
uInt | beamno, | |||
uInt | antno, | |||
uInt | ifno, | |||
uInt | freqid, | |||
Double | time | |||
) | [private] |
void casa::BaselineTable::setdata | ( | uInt | irow, | |
uInt | scanno, | |||
uInt | beamno, | |||
uInt | antno, | |||
uInt | ifno, | |||
uInt | freqid, | |||
Double | time, | |||
Array< Bool > | apply, | |||
Array< uInt > | ftype, | |||
Array< Int > | fpar, | |||
Array< Float > | ffpar, | |||
Array< uInt > | mask, | |||
Array< Float > | res, | |||
Array< Float > | rms, | |||
uInt | nchan, | |||
Array< Float > | cthres, | |||
Array< uInt > | citer, | |||
Array< Bool > | uself, | |||
Array< Float > | lfthres, | |||
Array< uInt > | lfavg, | |||
Array< uInt > | lfedge | |||
) |
void casa::BaselineTable::setresult | ( | uInt | irow, | |
Vector< Float > | res, | |||
Array< Float > | rms | |||
) |
void casa::BaselineTable::setup | ( | ) |
Table casa::BaselineTable::table | ( | ) | [inline] |
Definition at line 61 of file BaselineTable.h.
References table_.
const Table& casa::BaselineTable::table | ( | ) | const [inline] |
Definition at line 60 of file BaselineTable.h.
References table_.
ScalarColumn<uInt> casa::BaselineTable::antCol_ [private] |
Definition at line 145 of file BaselineTable.h.
Referenced by getAntenna().
ArrayColumn<Bool> casa::BaselineTable::applyCol_ [private] |
Definition at line 150 of file BaselineTable.h.
Referenced by getApply().
ScalarColumn<uInt> casa::BaselineTable::beamCol_ [private] |
Definition at line 145 of file BaselineTable.h.
Referenced by getBeam().
ArrayColumn<uInt> casa::BaselineTable::citerCol_ [private] |
Definition at line 159 of file BaselineTable.h.
Referenced by getClipIteration().
ArrayColumn<Float> casa::BaselineTable::cthresCol_ [private] |
Definition at line 158 of file BaselineTable.h.
Referenced by getClipThreshold().
ArrayColumn<Float> casa::BaselineTable::ffparCol_ [private] |
Definition at line 153 of file BaselineTable.h.
Referenced by getFuncFParam().
ArrayColumn<Int> casa::BaselineTable::fparCol_ [private] |
Definition at line 152 of file BaselineTable.h.
Referenced by getFuncParam().
ScalarColumn<uInt> casa::BaselineTable::freqidCol_ [private] |
Definition at line 145 of file BaselineTable.h.
ArrayColumn<uInt> casa::BaselineTable::ftypeCol_ [private] |
Definition at line 151 of file BaselineTable.h.
ScalarColumn<uInt> casa::BaselineTable::ifCol_ [private] |
Definition at line 145 of file BaselineTable.h.
Referenced by getSpw().
ArrayColumn<uInt> casa::BaselineTable::lfavgCol_ [private] |
Definition at line 162 of file BaselineTable.h.
Referenced by getLineFinderChanAvg().
ArrayColumn<uInt> casa::BaselineTable::lfedgeCol_ [private] |
Definition at line 163 of file BaselineTable.h.
Referenced by getLineFinderEdge().
ArrayColumn<Float> casa::BaselineTable::lfthresCol_ [private] |
Definition at line 161 of file BaselineTable.h.
Referenced by getLineFinderThreshold().
ArrayColumn<uInt> casa::BaselineTable::maskCol_ [private] |
Definition at line 154 of file BaselineTable.h.
Referenced by getMaskList().
const String casa::BaselineTable::name_ [static, private] |
Definition at line 148 of file BaselineTable.h.
Referenced by name().
ScalarColumn<uInt> casa::BaselineTable::nchanCol_ [private] |
Definition at line 157 of file BaselineTable.h.
Referenced by getNChan().
Table casa::BaselineTable::originaltable_ [private] |
Definition at line 144 of file BaselineTable.h.
ArrayColumn<Float> casa::BaselineTable::resCol_ [private] |
Definition at line 155 of file BaselineTable.h.
Referenced by getResult().
ArrayColumn<Float> casa::BaselineTable::rmsCol_ [private] |
Definition at line 156 of file BaselineTable.h.
Referenced by getRms().
ScalarColumn<uInt> casa::BaselineTable::scanCol_ [private] |
Definition at line 145 of file BaselineTable.h.
Referenced by getScan().
Table casa::BaselineTable::table_ [private] |
Definition at line 144 of file BaselineTable.h.
ScalarColumn<Double> casa::BaselineTable::timeCol_ [private] |
Definition at line 146 of file BaselineTable.h.
Referenced by getTime().
MEpoch::ScalarColumn casa::BaselineTable::timeMeasCol_ [private] |
Definition at line 147 of file BaselineTable.h.
ArrayColumn<Bool> casa::BaselineTable::uselfCol_ [private] |
Definition at line 160 of file BaselineTable.h.
Referenced by getUseLineFinder().