source: trunk/src/python_STSelector.cpp@ 931

Last change on this file since 931 was 902, checked in by mar637, 19 years ago

More work on polarisation. STPol and labelling

File size: 1.3 KB
Line 
1//
2// C++ Implementation: python_STSelector
3//
4// Description: This file is the boost::python wrapper for asap::STSelector
5//
6//
7// Author: Malte Marquarding <asap@atnf.csiro.au>, (C) 2006
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
12#include <boost/python.hpp>
13
14#include "STSelector.h"
15
16using namespace boost::python;
17
18namespace asap {
19 namespace python {
20
21 void python_STSelector() {
22 class_<STSelector>("selector")
23 .def( init <> () )
24 .def("_getbeams", &STSelector::getBeams)
25 .def("_getifs", &STSelector::getIFs)
26 .def("_getpols", &STSelector::getPols)
27 .def("_getpoltypes", &STSelector::getPolTypes)
28 .def("_getscans", &STSelector::getScans)
29 .def("_getcycles", &STSelector::getCycles)
30 .def("_reset", &STSelector::reset)
31 .def("_setbeams", &STSelector::setBeams)
32 .def("_setifs", &STSelector::setIFs)
33 .def("_setpols", &STSelector::setPolarizations)
34 .def("_setpolstrings", &STSelector::setPolFromStrings)
35 .def("_setscans", &STSelector::setScans)
36 .def("_setcycles", &STSelector::setCycles)
37 .def("_setname", &STSelector::setName)
38 .def("_settaql", &STSelector::setTaQL)
39 .def("_setorder", &STSelector::setSortOrder)
40 ;
41 };
42 }
43}
Note: See TracBrowser for help on using the repository browser.