You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In our current dataset structure the order of xarray dimensions is: time, individuals, keypoints, space.
This is not very intuitive, namely because time and space are the most essential dimensions which should always exist regardless of how motion was tracked. As we move toward supporting more types of data, and possibly making non-spacetime dimensions optional (e.g. create keypoints only if more than 1 is present, and ditto for individuals), and it makes more sense to put the "essential" dimensions at the beginning and the optional ones at the end.
This was brought up by @sfmig, and we both think this would make sense.
Describe the solution you'd like
Reorder dimensions in order of "essentiality": time, space, keypoints, individuals, views (if we adopt #196).
This shouldn't be too hard as we could simply add xarray's transpose() methods at the end of our loading functions to get the desired order. But we would have to adapt validators (related to #210), tests and docs.
Describe alternatives you've considered
space, time, keypoints, individual, views
Keep things as they are, don't fix it if it ain't broken?
Is your feature request related to a problem? Please describe.
In our current dataset structure the order of
xarray
dimensions is:time
,individuals
,keypoints
,space
.This is not very intuitive, namely because
time
andspace
are the most essential dimensions which should always exist regardless of how motion was tracked. As we move toward supporting more types of data, and possibly making non-spacetime dimensions optional (e.g. createkeypoints
only if more than 1 is present, and ditto forindividuals
), and it makes more sense to put the "essential" dimensions at the beginning and the optional ones at the end.This was brought up by @sfmig, and we both think this would make sense.
Describe the solution you'd like
Reorder dimensions in order of "essentiality":
time
,space
,keypoints
,individuals
,views
(if we adopt #196).This shouldn't be too hard as we could simply add xarray's
transpose()
methods at the end of our loading functions to get the desired order. But we would have to adapt validators (related to #210), tests and docs.Describe alternatives you've considered
space
,time
,keypoints
,individual
,views
Additional context
The text was updated successfully, but these errors were encountered: