24 #ifndef LSST_AFW_TABLE_IO_PYTHON_H
25 #define LSST_AFW_TABLE_IO_PYTHON_H
27 #include "pybind11/pybind11.h"
36 using namespace py::literals;
54 template <
typename Class,
typename... Args>
56 cls.def_static(
"readFits",
64 "fileName"_a,
"mode"_a =
"w");
67 "manager"_a,
"mode"_a =
"w");
68 cls.def(
"isPersistable", &Class::isPersistable);
Lifetime-management for memory that goes into FITS memory files.
A CRTP facade class for subclasses of Persistable.
const int DEFAULT_HDU
Specify that the default HDU should be read.
void addPersistableMethods(pybind11::class_< Class, Args... > &cls)
Add table::io::Persistable and PersistableFacade methods to the pybind11 wrapper for a class.
A base class for image defects.