Interpolate (#137)

- added eta based interpolation
This commit is contained in:
Erik Fröjdh
2025-03-18 17:45:38 +01:00
committed by GitHub
parent 1ad362ccfc
commit 11cd2ec654
17 changed files with 580 additions and 39 deletions

View File

@@ -195,6 +195,8 @@ void define_file_io_bindings(py::module &m) {
py::class_<ROI>(m, "ROI")
.def(py::init<>())
.def(py::init<int64_t, int64_t, int64_t, int64_t>(), py::arg("xmin"),
py::arg("xmax"), py::arg("ymin"), py::arg("ymax"))
.def_readwrite("xmin", &ROI::xmin)
.def_readwrite("xmax", &ROI::xmax)
.def_readwrite("ymin", &ROI::ymin)