mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 04:17:15 +02:00
M3: fixed gain bits with negative polarity
This commit is contained in:
@ -1143,6 +1143,9 @@ void init_det(py::module &m) {
|
||||
.def("setGainCaps",
|
||||
(void (Detector::*)(int, sls::Positions)) & Detector::setGainCaps,
|
||||
py::arg(), py::arg() = Positions{})
|
||||
.def("getGainCaps",
|
||||
(Result<int>(Detector::*)(sls::Positions)) & Detector::getGainCaps,
|
||||
py::arg() = Positions{})
|
||||
.def("getNumberOfAnalogSamples",
|
||||
(Result<int>(Detector::*)(sls::Positions) const) &
|
||||
Detector::getNumberOfAnalogSamples,
|
||||
|
Reference in New Issue
Block a user