source: trunk/src/python_STSideBandSep.cpp@ 2909

Last change on this file since 2909 was 2828, checked in by Kana Sugimoto, 11 years ago

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): sbseparator

Description: Removed obsolete codes and variables.


File size: 1.6 KB
Line 
1//#---------------------------------------------------------------------------
2//# python_STSideBandSep.cpp: python exposure of c++ STSideBandSep class
3//#---------------------------------------------------------------------------
4//# Author: Kanako Sugimoto, (C) 2012
5//#
6//# Copyright: See COPYING file that comes with this distribution
7//#
8//#---------------------------------------------------------------------------
9#include <boost/python.hpp>
10#include <boost/python/args.hpp>
11
12#include "STSideBandSep.h"
13
14using namespace boost::python;
15
16namespace asap {
17 namespace python {
18
19void python_STSideBandSep() {
20 class_<STSideBandSep>("SBSeparator")
21 .def( init <> () )
22 .def( init < const std::vector<std::string> > () )
23 .def( init < const std::vector<ScantableWrapper> > () )
24 .def( "set_freq", &STSideBandSep::setFrequency,
25 (boost::python::arg("frame")="") )
26 .def( "set_dirtol", &STSideBandSep::setDirTolerance )
27 .def( "set_shift", &STSideBandSep::setShift )
28 .def( "set_limit", &STSideBandSep::setThreshold )
29 .def( "solve_both", &STSideBandSep::solveBoth )
30 .def( "subtract_other", &STSideBandSep::solvefromOther )
31 .def( "set_lo1", &STSideBandSep::setLO1,
32 (boost::python::arg("frame")="TOPO",
33 boost::python::arg("reftime")=-1,
34 boost::python::arg("refdir")="") )
35 .def( "set_lo1root", &STSideBandSep::setLO1Root )
36 .def( "separate", &STSideBandSep::separate )
37 //// temporal methods
38 //.def( "solve_imgfreq", &STSideBandSep::solveImageFreqency )
39 //.def( "_get_asistb_from_scantb", &STSideBandSep::setScanTb0 )
40 ;
41};
42
43 } // python
44} // asap
Note: See TracBrowser for help on using the repository browser.