#include "pybind11/pybind11.h"
#include "pybind11/eigen.h"
#include "pybind11/stl.h"
#include "ndarray/pybind11.h"
#include "lsst/afw/geom/ellipses/BaseCore.h"
#include "lsst/afw/geom/ellipses/Convolution.h"
#include "lsst/afw/geom/ellipses/Transformer.h"
Go to the source code of this file.
◆ PYBIND11_MODULE()
PYBIND11_MODULE |
( |
baseCore |
, |
|
|
mod |
|
|
) |
| |
Definition at line 37 of file baseCore.cc.
39 py::class_<BaseCore, std::shared_ptr<BaseCore>> clsBaseCore(mod,
"BaseCore");
42 py::class_<BaseCore::Convolution> clsBaseCoreConvolution(clsBaseCore,
"Convolution");
43 py::class_<BaseCore::Transformer> clsBaseCoreTransformer(clsBaseCore,
"Transformer");
58 clsBaseCore.def(
"__eq__", &BaseCore::operator==, py::is_operator());
59 clsBaseCore.def(
"__nq__", &BaseCore::operator!=, py::is_operator());
62 clsBaseCore.def(
"getName", &BaseCore::getName);
64 clsBaseCore.def(
"normalize", &BaseCore::normalize);
65 clsBaseCore.def(
"grow", &BaseCore::grow);
67 clsBaseCore.def(
"getArea", &BaseCore::getArea);
68 clsBaseCore.def(
"getDeterminantRadius", &BaseCore::getDeterminantRadius);
69 clsBaseCore.def(
"getTraceRadius", &BaseCore::getTraceRadius);
74 clsBaseCore.def(
"computeDimensions", &BaseCore::computeDimensions);
75 clsBaseCore.def(
"getParameterVector", &BaseCore::getParameterVector);
76 clsBaseCore.def(
"setParameterVector", &BaseCore::setParameterVector);