G-Node / nix

Neuroscience information exchange format

Home Page:https://readthedocs.org/projects/nixio/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dimensions with linking for ticks and labels

achilleas-k opened this issue · comments

Dimensions can link to either a DataArray or a DataFrame for ticks or labels (depending on Dimension type).

DataArray links

The link object should hold a series of indices that indicate a single vector to represent the ticks or labels. The dimension which holds the relevant values should be indicated by -1.

DataFrame links

The link object should hold a single index which defines the Column to represent the ticks or labels.


This replaces AliasRangeDimension, which becomes a RangeDimension that links to the DataArray that holds it, and DataFrameDimension, which becomes a SetDimension (or any dimension now) that links to a DataFrame.