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

add keep_matlab_shapes to oct2py #334

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tylerbjackson
Copy link

so there is an option to reliably extract datastructures with all matlab dimensions. This makes it easier to work with the data when sometimes there are singletons and sometimes not in the extracted data.

We were running into an issue where the shape of the structures we were pulling out would sometimes be like [n, 1, m] and sometimes [n, 3, m] and without this the singleton dimensions was being squeezed out often. Adding this option allows us to have more consistent return shapes and has proved helpful.

…tract datastructures with all matlab dimensions. This makes it easier to work with the data when sometimes there are singletons and sometimes not in the extracted data.
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