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

Use xarray as data structure #21

Open
thangleiter opened this issue Apr 3, 2020 · 0 comments
Open

Use xarray as data structure #21

thangleiter opened this issue Apr 3, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@thangleiter
Copy link
Member

xarray provides a labelled multidimensional array that adds labels to numpy arrays' axes, very similar to pandas dataframes with than two dimensions.

Implementing this as the standard data structure would probably help to make adoption of this package, and writing code that interfaces with it, easier since the many dimensions of e.g. a control matrix or a filter functions that correspond to different physical entities would be labelled in a human-readable way.

The possiblity of incorporation probably stands and falls with if xarray provides a einsum implementation since we strongly rely on optimized paths when contracting multidimensional arrays.

@thangleiter thangleiter added the enhancement New feature or request label Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant