27 #ifndef SD_BASELINETABLE_H
28 #define SD_BASELINETABLE_H
39 #include <libsakura/sakura.h>
41 #define BaselineType_kPolynomial 0
42 #define BaselineType_kChebyshev 1
43 #define BaselineType_kCubicSpline 2
44 #define BaselineType_kSinusoid 3
45 #define BaselineType_kNumElements 4
117 void save(
const std::string &filename);
casacore::uInt getScan(casacore::uInt irow) const
casacore::ArrayColumn< casacore::Int > fparCol_
Main interface class to a read/write table.
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
casacore::uInt getBeam(casacore::uInt irow) const
casacore::Matrix< casacore::Float > getLineFinderThreshold()
casacore::ArrayColumn< casacore::uInt > citerCol_
void apply(const Jones &j1, VisVector &v, const Jones &j2)
Apply a pair of Jones to a VisVector:
casacore::ArrayColumn< casacore::Float > resCol_
casacore::uInt nchan(casacore::uInt ifno)
uint getSpw(casacore::uInt irow) const
void setresult(casacore::uInt irow, casacore::Vector< casacore::Float > res, casacore::Array< casacore::Float > rms)
casacore::Matrix< casacore::Bool > getApply()
const casacore::String & name() const
casacore::Matrix< casacore::Float > getFuncFParam(casacore::uInt irow)
ABSTRACT TOOL CLASSES A PlotTool is a higher level event handler for a PlotCanvas The idea is to take common tasks which may require multiple events and put them in one place PlotTools also provide additional functionality in that they can be active and blocking non blocking The PlotCanvas will only send events to active and will not send events to later tools or event handlers if the latest tool was blocking In this way a single tool can be used to handle ALL user interaction via the GUI at one time
casacore::MEpoch::ScalarColumn timeMeasCol_
casacore::Vector< casacore::uInt > getNChan()
casacore::Matrix< casacore::Int > getFuncParam(casacore::uInt irow)
casacore::ArrayColumn< casacore::Float > ffparCol_
void save(const std::string &filename)
casacore::ArrayColumn< casacore::Bool > applyCol_
casacore::ArrayColumn< casacore::uInt > lfedgeCol_
int getFPar(casacore::uInt irow, casacore::uInt ipol) const
void appendbasedata(int scanno, int beamno, int antno, int ifno, int freqid, casacore::Double time)
casacore::ArrayColumn< casacore::Float > rmsCol_
casacore::ScalarColumn< casacore::Double > timeCol_
casacore::ScalarColumn< casacore::uInt > antCol_
casacore::Matrix< casacore::Float > getClipThreshold()
casacore::Matrix< casacore::uInt > getClipIteration()
casacore::ArrayColumn< casacore::Bool > uselfCol_
casacore::Matrix< casacore::Int > getFuncParam()
void setApply(int irow, int ipol, bool apply)
casacore::Matrix< casacore::Float > getRms()
casacore::Matrix< casacore::Float > getResult(casacore::uInt irow)
casacore::ScalarColumn< casacore::uInt > nchanCol_
const casacore::Table & table() const
casacore::ScalarColumn< casacore::uInt > scanCol_
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)
casacore::uInt getAntenna(casacore::uInt irow) const
casacore::Matrix< casacore::Bool > getUseLineFinder()
void attachOptionalColumns()
casacore::Table originaltable_
uInt nrow() const
Get the number of rows.
casacore::ArrayColumn< casacore::Float > lfthresCol_
std::vector< bool > getMaskFromMaskList(casacore::uInt const nchan, std::vector< int > const &masklist)
casacore::Matrix< casacore::Float > getFuncFParam()
A Table intended to hold astronomical data (a set of Measurements).
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)
static const casacore::String name_
casacore::ArrayColumn< casacore::uInt > ftypeCol_
void getColumn(Array< T > &array, Bool resize=False) const
Get the array of all values in a column.
casacore::Matrix< casacore::uInt > getLineFinderChanAvg()
casacore::ScalarColumn< casacore::uInt > beamCol_
void get(uInt rownr, T &value) const
Get the data from a particular cell (i.e.
casacore::Matrix< casacore::uInt > getLineFinderEdge()
casacore::ArrayColumn< casacore::Float > cthresCol_
casacore::ArrayColumn< casacore::uInt > maskCol_
TableExprNode rms(const TableExprNode &array)
casacore::ArrayColumn< casacore::uInt > lfavgCol_
String: the storage and methods of handling collections of characters.
casacore::Matrix< casacore::uInt > getMaskList()
casacore::ScalarColumn< casacore::uInt > ifCol_
void get(uInt rownr, Array< T > &array, Bool resize=False) const
Get the array value in a particular cell (i.e.
casacore::Matrix< casacore::Float > getResult()
casacore::ScalarColumn< casacore::uInt > freqidCol_
uint getBaselineType(casacore::uInt irow, casacore::uInt ipol) const
double getTime(casacore::uInt irow) const
void getColumn(Vector< T > &vec, Bool resize=False) const
Get the vector of all values in the column.
void setbasedata(casacore::uInt irow, casacore::uInt scanno, casacore::uInt beamno, casacore::uInt antno, casacore::uInt ifno, casacore::uInt freqid, casacore::Double time)