mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-12-02 02:57:47 +01:00
update pybindings and fix python warnings (#1694)
This commit is contained in:
1 parent
b7f2b3ac91
commit
ccbb97e40a
2 files changed
+6
-4
No files matched your search
@@ -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.
|
||||
"""
|
||||
|
||||
@@ -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) &
|
||||
|
||||
Reference in new issue
Block a user