Last change
on this file since 3130 was 3106, checked in by Takeshi Nakazato, 8 years ago |
New Development: No
JIRA Issue: No
Ready for Test: Yes/No
Interface Changes: Yes/No
What Interface Changed: Please list interface changes
Test Programs: List test programs
Put in Release Notes: Yes/No
Module(s): Module Names change impacts.
Description: Describe your changes here...
Check-in asap modifications from Jim regarding casacore namespace conversion.
|
File size:
1.3 KB
|
Rev | Line | |
---|
[2613] | 1 | //
|
---|
| 2 | // C++ Interface: EdgeMarker
|
---|
| 3 | //
|
---|
| 4 | // Description:
|
---|
| 5 | //
|
---|
| 6 | //
|
---|
| 7 | // Author: Takeshi Nakazato <takeshi.nakazato@nao.ac.jp>, (C) 2012
|
---|
| 8 | //
|
---|
| 9 | // Copyright: See COPYING file that comes with this distribution
|
---|
| 10 | //
|
---|
| 11 | //
|
---|
| 12 | #ifndef _EDGE_MARKER_H_
|
---|
| 13 | #define _EDGE_MARKER_H_
|
---|
| 14 |
|
---|
| 15 | #include <string>
|
---|
| 16 |
|
---|
| 17 | #include <casa/Arrays/Vector.h>
|
---|
| 18 | #include <casa/Utilities/CountedPtr.h>
|
---|
| 19 | #include <casa/Containers/Record.h>
|
---|
| 20 | #include <casa/Logging/LogIO.h>
|
---|
| 21 | #include <tables/Tables/Table.h>
|
---|
| 22 |
|
---|
| 23 | #include "Scantable.h"
|
---|
| 24 | #include "EdgeDetector.h"
|
---|
| 25 |
|
---|
| 26 | namespace asap {
|
---|
| 27 |
|
---|
| 28 | class EdgeMarker
|
---|
| 29 | {
|
---|
| 30 | public:
|
---|
| 31 | EdgeMarker() ;
|
---|
| 32 | EdgeMarker( bool israster ) ;
|
---|
| 33 |
|
---|
| 34 | virtual ~EdgeMarker() ;
|
---|
| 35 |
|
---|
[3106] | 36 | void setdata( const casacore::CountedPtr<Scantable> &s,
|
---|
| 37 | const casacore::Bool &insitu ) ;
|
---|
[2613] | 38 | void examine() ;
|
---|
[3106] | 39 | void setoption( const casacore::Record &option ) ;
|
---|
[2613] | 40 | void detect() ;
|
---|
| 41 | void mark() ;
|
---|
[3106] | 42 | casacore::Block<casacore::uInt> getDetectedRows() ;
|
---|
| 43 | casacore::CountedPtr<Scantable> get() ;
|
---|
[2613] | 44 | // void reset() ;
|
---|
| 45 |
|
---|
| 46 | private:
|
---|
| 47 | void initDetect() ;
|
---|
| 48 |
|
---|
| 49 | // data
|
---|
[3106] | 50 | casacore::CountedPtr<Scantable> st_ ;
|
---|
[2613] | 51 |
|
---|
| 52 | // pointer to detector object
|
---|
[3106] | 53 | casacore::CountedPtr<EdgeDetector> detector_ ;
|
---|
[2613] | 54 |
|
---|
| 55 | // list of IFNO for WVR
|
---|
[3106] | 56 | casacore::Vector<casacore::uInt> wvr_ ;
|
---|
[2613] | 57 |
|
---|
| 58 | // off position list
|
---|
[3106] | 59 | casacore::Block<casacore::uInt> off_ ;
|
---|
| 60 | casacore::uInt noff_ ;
|
---|
[2613] | 61 |
|
---|
| 62 | // logger
|
---|
[3106] | 63 | casacore::LogIO os_ ;
|
---|
[2613] | 64 | } ;
|
---|
| 65 |
|
---|
| 66 | }
|
---|
| 67 | #endif /* _EDGE_MARKER_H_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.