12 #include <pybind11/pybind11.h>
13 #include <pybind11/stl.h>
15 namespace py = pybind11;
17 using namespace ActsExamples;
20 namespace Acts::Python {
23 auto [
m, mex, onnx] = ctx.
get(
"main",
"examples",
"onnx");
26 "makeNeuralCalibrator",
27 [](
const char *modelPath,
size_t nComp, std::vector<size_t> volumeIds)
28 -> std::shared_ptr<MeasurementCalibrator> {
29 return std::make_shared<NeuralCalibrator>(modelPath, nComp, volumeIds);
31 py::arg(
"modelPath"), py::arg(
"nComp") = 1,
32 py::arg(
"volumeIds") = std::vector<size_t>({7, 8, 9}));