mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-02-20 07:08:40 +01:00
Dev/multiple rois in aare (#263)
Reading multiple ROI's for aare - read_frame, read_n etc throws for multiple ROIs - new functions read_ROIs, read_n_ROIs - read_roi_into (used for python bindings - to not copy) all these functions use get_frame or get_frame_into where one passes the roi_index ## Refactoring: - each roi keeps track of its subfiles that one has to open e.g. subfiles can be opened several times - refactored class DetectorGeometry - keep track of the updated module geometries in new class ROIGeometry. - ModuleGeometry updates based on ROI ## ROIGeometry: - stores number of modules overlapping with ROI and its indices - size of ROI Note: only tested size of the resulting frames not the actual values --------- Co-authored-by: Erik Fröjdh <erik.frojdh@psi.ch> Co-authored-by: Erik Fröjdh <erik.frojdh@gmail.com>
This commit is contained in:
@@ -12,6 +12,10 @@
|
||||
- Removed redundant arr.value(ix,iy...) on NDArray use arr(ix,iy...)
|
||||
- Removed Print/Print_some/Print_all form NDArray (operator << still works)
|
||||
- Added const* version of .data()
|
||||
- reading multiple ROI's supported for aare.
|
||||
- Use ``read_roi/rois`` to read multiple ROIs for one frame, the index of a specific ROI to only read that ROI
|
||||
- Use ``read_n_with_roi`` to read multiple frames for a specific ROI.
|
||||
- Note ``read_frame`` and ``read_n`` is not supported for multiple ROI's.
|
||||
|
||||
### Bugfixes:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user