source: trunk/src/EdgeMarker.h@ 3130

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
Line 
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
26namespace asap {
27
28class EdgeMarker
29{
30public:
31 EdgeMarker() ;
32 EdgeMarker( bool israster ) ;
33
34 virtual ~EdgeMarker() ;
35
36 void setdata( const casacore::CountedPtr<Scantable> &s,
37 const casacore::Bool &insitu ) ;
38 void examine() ;
39 void setoption( const casacore::Record &option ) ;
40 void detect() ;
41 void mark() ;
42 casacore::Block<casacore::uInt> getDetectedRows() ;
43 casacore::CountedPtr<Scantable> get() ;
44// void reset() ;
45
46private:
47 void initDetect() ;
48
49 // data
50 casacore::CountedPtr<Scantable> st_ ;
51
52 // pointer to detector object
53 casacore::CountedPtr<EdgeDetector> detector_ ;
54
55 // list of IFNO for WVR
56 casacore::Vector<casacore::uInt> wvr_ ;
57
58 // off position list
59 casacore::Block<casacore::uInt> off_ ;
60 casacore::uInt noff_ ;
61
62 // logger
63 casacore::LogIO os_ ;
64} ;
65
66}
67#endif /* _EDGE_MARKER_H_ */
Note: See TracBrowser for help on using the repository browser.