G-Node / G-Node/nixpy

DataView: get dimensions/ticks

Open
#480 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
22
Forks
29
PR merge metrics
No merged PRs in 30d

Description

`MultiTag.retrieve_data` returns a `DataView` to the referenced `DataArray`.
If I want to know the corresponding ticks I have to get the entire array via `DataArray.dimensions` and then index into that array dependent on `MultiTag.positions` and `MultiTag.extents`.

I think it would be handy to also return a view on the dimensions. Does that make sense?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with MultiTag.retrieve_data, DataView, DataArray.dimensions, and the positions and extents fields described in the issue. Trace how the existing data view is built, then determine the corresponding dimensions view and add coverage showing that it aligns with the selected data region.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.