mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-11 06:47:14 +02:00
WIP
This commit is contained in:
@ -32,7 +32,9 @@ void define_file_io_bindings(py::module &m) {
|
||||
.def_property_readonly("cols", &File::cols)
|
||||
.def_property_readonly("bitdepth", &File::bitdepth)
|
||||
.def_property_readonly("bytes_per_pixel", &File::bytes_per_pixel)
|
||||
.def_property_readonly("detector_type", &File::detector_type)
|
||||
.def_property_readonly("detector_type", [](File &self){
|
||||
return ToString(self.detector_type());
|
||||
})
|
||||
.def("read_frame", [](File &self) {
|
||||
const uint8_t item_size = self.bytes_per_pixel();
|
||||
py::array image;
|
||||
|
Reference in New Issue
Block a user