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 Events and LabeledEvents types #302

Closed
wants to merge 11 commits into from
Closed

Add Events and LabeledEvents types #302

wants to merge 11 commits into from

Conversation

rly
Copy link
Contributor

@rly rly commented Aug 22, 2019

Fixes #301

@rly rly added this to the NWB 2.2 milestone Aug 22, 2019
core/nwb.event.yaml Outdated Show resolved Hide resolved
core/nwb.event.yaml Outdated Show resolved Hide resolved
core/nwb.event.yaml Outdated Show resolved Hide resolved
core/nwb.event.yaml Outdated Show resolved Hide resolved
could contain 101 values, where label_map[0] is 'No reward', label_map[10] is '10% reward',
label_map[100] is 'Full reward', and all other entries in 'label_map' are the empty string.
datasets:
- name: labels
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How would you feel about making this dataset optional? If it is not supplied, the label keys are 0, 1, 2, ... Another option would be to keep this as is and build that into the API.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be a good use of DynamicTable. Users could then add additional metadata to their labels.

core/nwb.event.yaml Outdated Show resolved Hide resolved
rly and others added 5 commits September 13, 2019 13:14
Co-Authored-By: Ben Dichter <ben.dichter@gmail.com>
Co-Authored-By: Ben Dichter <ben.dichter@gmail.com>
Co-Authored-By: Ben Dichter <ben.dichter@gmail.com>
Co-Authored-By: Ben Dichter <ben.dichter@gmail.com>
bendichter
bendichter previously approved these changes Oct 1, 2019
bendichter
bendichter previously approved these changes Oct 9, 2019
@rly rly self-assigned this Nov 15, 2019
@bendichter bendichter self-requested a review December 30, 2019 03:25
@bendichter bendichter dismissed their stale review December 30, 2019 03:26

changed my mind

@bendichter
Copy link
Contributor

I am putting together an extension here that would benefit from having Events as a DynamicTable

core/nwb.event.yaml Outdated Show resolved Hide resolved
@rly rly mentioned this pull request Mar 11, 2020
@rly
Copy link
Contributor Author

rly commented Mar 19, 2020

The proposed Events and LabeledEvents types will be implemented in an NDX extension in development here: https://github.com/rly/ndx-events

@rly rly closed this Mar 19, 2020
@rly rly deleted the enh/events branch March 19, 2020 00:34
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.

Add Events type
3 participants