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

standard matrix slicing not supported for DataPipe object #337

Closed
cechava opened this issue Nov 3, 2021 · 0 comments · Fixed by #348
Closed

standard matrix slicing not supported for DataPipe object #337

cechava opened this issue Nov 3, 2021 · 0 comments · Fixed by #348

Comments

@cechava
Copy link
Collaborator

cechava commented Nov 3, 2021

Currently, accessing data in an NWB file with standard matrix requires reference to the DataStub object. For example:

nwb.acquisition.get('TwoPhotonSeries').data.internal.stub(:, :, 1:2000);

It would be more practical if the data could be accessed in this way without having to refer to the subfields of the TwoPhotonSeries object. For example,

nwb.acquisition.get('TwoPhotonSeries').data(:, :, 1:200);

This might require extending the functionality of the DataPipe class

This was referenced Nov 17, 2021
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 a pull request may close this issue.

1 participant