pybind only 1 function for getRxROI

This commit is contained in:
2025-07-03 11:42:24 +02:00
parent f9d41f1d66
commit b1c6b4b078

View File

@ -932,10 +932,7 @@ void init_det(py::module &m) {
Detector::setRxArping,
py::arg(), py::arg() = Positions{});
CppDetectorApi.def("getRxROI",
(std::vector<defs::ROI>(Detector::*)() const) &
Detector::getRxROI);
CppDetectorApi.def("getRxROI",
(std::vector<defs::ROI>(Detector::*)(int) const) &
(std::vector<defs::ROI> (Detector::*)(int) const) &
Detector::getRxROI,
py::arg());
CppDetectorApi.def("setRxROI",