// // C++ Interface: EdgeMarker // // Description: // // // Author: Takeshi Nakazato , (C) 2012 // // Copyright: See COPYING file that comes with this distribution // // #ifndef _EDGE_MARKER_H_ #define _EDGE_MARKER_H_ #include #include #include #include #include #include #include "Scantable.h" #include "EdgeDetector.h" namespace asap { class EdgeMarker { public: EdgeMarker() ; EdgeMarker( bool israster ) ; virtual ~EdgeMarker() ; void setdata( const casacore::CountedPtr &s, const casacore::Bool &insitu ) ; void examine() ; void setoption( const casacore::Record &option ) ; void detect() ; void mark() ; casacore::Block getDetectedRows() ; casacore::CountedPtr get() ; // void reset() ; private: void initDetect() ; // data casacore::CountedPtr st_ ; // pointer to detector object casacore::CountedPtr detector_ ; // list of IFNO for WVR casacore::Vector wvr_ ; // off position list casacore::Block off_ ; casacore::uInt noff_ ; // logger casacore::LogIO os_ ; } ; } #endif /* _EDGE_MARKER_H_ */