25 #include <pybind11/pybind11.h>
26 #include <pybind11/complex.h>
27 #include <pybind11/stl.h>
28 #include "ndarray/pybind11.h"
35 using namespace pybind11::literals;
41 py::module::import(
"astshim.table");
44 py::class_<FitsTable, std::shared_ptr<FitsTable>, Table>
cls(mod,
"FitsTable");
46 cls.def(py::init<std::string const &>(),
"options"_a =
"");
47 cls.def(py::init<FitsChan const &, std::string const &>(),
"header"_a,
"options"_a =
"");
48 cls.def(
"getTableHeader", &FitsTable::getTableHeader);
49 cls.def(
"columnSize", &FitsTable::columnSize,
"column"_a);
50 cls.def(
"getColumnData1D", &FitsTable::getColumnData1D,
"column"_a);