update pybindings and fix python warnings (#1693)

This commit is contained in:
maliakal_d authored and GitHub committed 2026-11-20 11:22:39 +01:00
1 parent 442738d308
commit 0252c0e921
2 files changed
+6 -4

No files matched your search

+4 -4
View File
@@ -831,10 +831,10 @@ class Detector(CppDetectorApi):
Note
----
Sets up the following for every module:\n
\t\t[Eiger] txdelay_left to (2 \* mod_index \* n_delay), \n
\t\t[Eiger] txdelay_right to ((2 \* mod_index + 1) \* n_delay) and \n
\t\t[Eiger] txdelay_frame to (2 \* num_modules \* n_delay) \n
\t\t[Jungfrau][Moench][Mythen3] txdelay_frame to (num_modules \* n_delay)\n\n
\t\t[Eiger] txdelay_left to (2 * mod_index * n_delay), \n
\t\t[Eiger] txdelay_right to ((2 * mod_index + 1) * n_delay) and \n
\t\t[Eiger] txdelay_frame to (2 * num_modules * n_delay) \n
\t\t[Jungfrau][Moench][Mythen3] txdelay_frame to (num_modules * n_delay)\n\n
Please refer txdelay_left, txdelay_right and txdelay_frame for details.
"""
return self.getTransmissionDelay()
+2
View File
@@ -944,6 +944,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) &