update pybindings and fix python warnings (#1694)

This commit is contained in:
maliakal_d authored and GitHub committed 2026-11-20 11:22:53 +01:00
1 parent b7f2b3ac91
commit ccbb97e40a
2 files changed
+6 -4

No files matched your search

+4 -4
View File
@@ -834,13 +834,13 @@ class Detector(CppDetectorApi):
----
Sets up the following for every module:
[Eiger] txdelay_left to (2 \* mod_index \* n_delay),
[Eiger] txdelay_left to (2 * mod_index * n_delay),
[Eiger] txdelay_right to ((2 \* mod_index + 1) \* n_delay) and
[Eiger] txdelay_right to ((2 * mod_index + 1) * n_delay) and
[Eiger] txdelay_frame to (2 \* num_modules \* n_delay)
[Eiger] txdelay_frame to (2 * num_modules * n_delay)
[Jungfrau][Moench][Mythen3] txdelay_frame to (num_modules \* n_delay)
[Jungfrau][Moench][Mythen3] txdelay_frame to (num_modules * n_delay)
Please refer txdelay_left, txdelay_right and txdelay_frame for details.
"""
+2
View File
@@ -960,6 +960,8 @@ void init_det(py::module &m) {
py::arg());
CppDetectorApi.def("clearRxROI",
(void(Detector::*)()) & Detector::clearRxROI);
CppDetectorApi.def("isCompleteRxRoi", (bool (Detector::*)() const) &
Detector::isCompleteRxRoi);
CppDetectorApi.def(
"getFileFormat",
(Result<defs::fileFormat>(Detector::*)(sls::Positions) const) &