mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-10-31 11:41:27 +01:00
added getter for sensor_config
This commit is contained in:
1 parent
9a55d5d79b
commit
6440f669d9
2 files changed
+20
No files matched your search
@@ -55,6 +55,20 @@ void define_StrixelPixelRemaps(py::module &m) {
|
||||
maps are empty if the groups are not covered by the user ROI.
|
||||
)")
|
||||
|
||||
.def_property_readonly(
|
||||
"sensor_config",
|
||||
[](const aare::remap::StrixelPixelMap<N, M> &self) {
|
||||
return self.get_SensorConfig();
|
||||
},
|
||||
R"(
|
||||
Get the sensor configuration associated with this StrixelPixelMap.
|
||||
|
||||
Returns
|
||||
-------
|
||||
SensorConfig
|
||||
The sensor configuration.
|
||||
)")
|
||||
|
||||
.def(
|
||||
"__call__",
|
||||
[](aare::remap::StrixelPixelMap<N, M> &self,
|
||||
|
||||
Reference in new issue
Block a user