mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 04:17:15 +02:00
j: 1. chipversion
This commit is contained in:
@ -1992,6 +1992,20 @@ class Detector(CppDetectorApi):
|
||||
Jungfrau specific
|
||||
"""
|
||||
|
||||
@property
|
||||
@element
|
||||
def chipversion(self):
|
||||
"""
|
||||
[Jungfrau] Chip version of module. Can be 1.0 or 1.1.
|
||||
|
||||
Example
|
||||
-------
|
||||
>>> d.chipversion
|
||||
'1.0'
|
||||
"""
|
||||
return self.getChipVersion()
|
||||
|
||||
|
||||
@property
|
||||
@element
|
||||
def auto_comp_disable(self):
|
||||
|
@ -947,6 +947,10 @@ void init_det(py::module &m) {
|
||||
(void (Detector::*)(sls::Positions)) &
|
||||
Detector::resetTemperatureEvent,
|
||||
py::arg() = Positions{})
|
||||
.def("getChipVersion",
|
||||
(Result<double>(Detector::*)(sls::Positions) const) &
|
||||
Detector::getChipVersion,
|
||||
py::arg() = Positions{})
|
||||
.def("getAutoCompDisable",
|
||||
(Result<bool>(Detector::*)(sls::Positions) const) &
|
||||
Detector::getAutoCompDisable,
|
||||
|
Reference in New Issue
Block a user