source: trunk/src/EdgeMarkerWrapper.h@ 2750

Last change on this file since 2750 was 2613, checked in by Takeshi Nakazato, 12 years ago

New Development: Yes

JIRA Issue: Yes CAS-2825

Ready for Test: No

Interface Changes: Yes

What Interface Changed: added new python module sd.edgemarker

Test Programs: not available

Put in Release Notes: Yes

Module(s): Module Names change impacts.

Description: Describe your changes here...

New python module edgemarker is available. The edgemarker is a tool to
detect edge of observed area and mark data near edge as OFF. It can be
used to calibrate OTF data without explicit OFF scan.


File size: 953 bytes
Line 
1//
2// C++ Interface: EdgeMarkerWrapper
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 _OFF_POSITION_MARKER_WRAPPER_H_
13#define _OFF_POSITION_MARKER_WRAPPER_H_
14
15#include <casa/Utilities/CountedPtr.h>
16
17#include "Scantable.h"
18#include "EdgeMarker.h"
19#include "ScantableWrapper.h"
20
21namespace asap {
22
23class EdgeMarkerWrapper : public EdgeMarker
24{
25public:
26 EdgeMarkerWrapper()
27 : EdgeMarker()
28 {}
29
30 EdgeMarkerWrapper( bool israster )
31 : EdgeMarker( israster )
32 {}
33
34 ~EdgeMarkerWrapper() {}
35
36 void setdata( const ScantableWrapper &s,
37 const bool &insitu )
38 {
39 EdgeMarker::setdata( s.getCP(), (casa::Bool)insitu ) ;
40 }
41
42 ScantableWrapper get()
43 {
44 casa::CountedPtr<Scantable> s = EdgeMarker::get() ;
45 return ScantableWrapper( s ) ;
46 }
47} ;
48
49}
50#endif /* _OFF_POSITION_MARKER_WRAPPER_H_ */
Note: See TracBrowser for help on using the repository browser.