mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-09-03 01:50:44 +02:00
added Jungfrau definitions
This commit is contained in:
@@ -149,6 +149,11 @@ struct Moench05 {
|
||||
constexpr static std::array<int, 3> adcNumbers = {5, 9, 1};
|
||||
};
|
||||
|
||||
struct Jungfrau {
|
||||
constexpr static size_t nRows = 512;
|
||||
constexpr static size_t nCols = 1024;
|
||||
};
|
||||
|
||||
enum ReadoutMode : uint8_t {
|
||||
ANALOG_ONLY = 0,
|
||||
DIGITAL_ONLY = 1,
|
||||
|
||||
@@ -27,4 +27,8 @@ void define_defs_bindings(py::module &m) {
|
||||
moench05.attr("nRows") = Moench05::nRows;
|
||||
moench05.attr("nCols") = Moench05::nCols;
|
||||
moench05.attr("adcNumbers") = Moench05::adcNumbers;
|
||||
|
||||
auto jungfrau = py::class_<Jungfrau>(m, "Jungfrau");
|
||||
jungfrau.attr("nRows") = Jungfrau::nRows;
|
||||
jungfrau.attr("nCols") = Jungfrau::nCols;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user