mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-02-20 09:28:41 +01:00
renamed Matterhorn decoders
This commit is contained in:
@@ -33,15 +33,35 @@ void define_pixel_map_bindings(py::module &m) {
|
||||
new NDArray<ssize_t, 2>(GenerateMoench05PixelMapOld());
|
||||
return return_image_data(ptr);
|
||||
})
|
||||
|
||||
.def("GenerateMoench04AnalogPixelMap",
|
||||
[]() {
|
||||
auto ptr =
|
||||
new NDArray<ssize_t, 2>(GenerateMoench04AnalogPixelMap());
|
||||
return return_image_data(ptr);
|
||||
})
|
||||
|
||||
.def("GenerateMH02SingleCounterPixelMap",
|
||||
[]() {
|
||||
auto ptr = new NDArray<ssize_t, 2>(
|
||||
GenerateMH02SingleCounterPixelMap());
|
||||
return return_image_data(ptr);
|
||||
})
|
||||
.def("GenerateMH02FourCounterPixelMap", []() {
|
||||
auto ptr =
|
||||
new NDArray<ssize_t, 3>(GenerateMH02FourCounterPixelMap());
|
||||
return return_image_data(ptr);
|
||||
});
|
||||
.def("GenerateMH02FourCounterPixelMap",
|
||||
[]() {
|
||||
auto ptr =
|
||||
new NDArray<ssize_t, 3>(GenerateMH02FourCounterPixelMap());
|
||||
return return_image_data(ptr);
|
||||
})
|
||||
|
||||
.def(
|
||||
"GenerateMatterhorn10PixelMap",
|
||||
[](const size_t dynamic_range, const size_t n_counters) {
|
||||
auto ptr = new NDArray<ssize_t, 2>(
|
||||
GenerateMatterhorn10PixelMap(dynamic_range, n_counters));
|
||||
return return_image_data(ptr);
|
||||
},
|
||||
py::arg("dynamic_range") = 16, py::arg("n_counters") = 1,
|
||||
R"(
|
||||
Generate pixel map for Matterhorn02 detector)");
|
||||
}
|
||||
@@ -14,12 +14,12 @@
|
||||
#include "bind_calibration.hpp"
|
||||
|
||||
// TODO! migrate the other names
|
||||
#include "bind_PixelMap.hpp"
|
||||
#include "ctb_raw_file.hpp"
|
||||
#include "file.hpp"
|
||||
#include "fit.hpp"
|
||||
#include "jungfrau_data_file.hpp"
|
||||
#include "pedestal.hpp"
|
||||
#include "pixel_map.hpp"
|
||||
#include "raw_file.hpp"
|
||||
#include "raw_master_file.hpp"
|
||||
#include "raw_sub_file.hpp"
|
||||
|
||||
Reference in New Issue
Block a user