24 #include "pybind11/pybind11.h"
25 #include "pybind11/stl.h"
30 using namespace pybind11::literals;
37 using PyMultiModel = py::class_<MultiModel, std::shared_ptr<MultiModel>, Model>;
40 py::module::import(
"lsst.meas.modelfit.model");
42 PyMultiModel
cls(mod,
"MultiModel");
43 cls.def(py::init<ModelVector, MultiModel::NameVector const &>(),
"components"_a,
"prefixes"_a);
44 cls.def(
"getComponents", &MultiModel::getComponents);