[get|set]Data support for selection in addition to count+offset
Open
enhancement
- Dominant language
- C++
- Stars
- 72
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
In nixpy, if one tried to slice by a list of points, i.e. `DataArray.data[[1,5,9,10,23], :]` we currently have no clean way to transfer this into a call to `getData` data that would give us the desired result. HDF5 has a selection based API and we are internally already using it most of the time. I propose we add `[get|set]Data` overloads that take a new selection object.
The only question that immediately comes up is whether we want a native selection object or a front-facing one that facades the HDF5 one.
Contributor guide
Assessment
This issue has not been assessed yet.