Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API for a Sliceable Metadata Class #56

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DanRyanIrish
Copy link
Member

Description

This PR proposes an API for a metadata class that supports axis-aligned metadata and hence slicing of that metadata via the standard Python slicing API. The Metadata class tracks the shape of the data array with which it's associated, enabling it to interpret how to apply a slice item valid for that array.

This API allows, but does not require, metadata to be associated with data axes. It allows metadata to be added, changed or removed, but stores of copy of the original. It also allows comments on metadata values to be stored.

Fixes #

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant