-
Notifications
You must be signed in to change notification settings - Fork 0
New NWB reader: TRTNWBReader #9
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
Conversation
|
I have tested extracting features on both mouse and human data with this new reader and the output looked decent. |
darshanmandge
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @AurelienJaquier!
Can you add more description to the PR?
bluepyefe/nwbreader.py
Outdated
|
|
||
| def __init__(self, content, target_protocols, in_data, repetition=None): | ||
| """ Init | ||
| Args: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add a comment here referring to the dataset + first author, paper name and DOI?
| i_unit = current.attrs["unit"].decode('UTF-8') | ||
| t_unit = start_time.attrs["unit"].decode('UTF-8') | ||
|
|
||
| if ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this logic will be only used by one dataset which will use this reader. The _format_nwb_trace is being used by all the NWB readers. @ilkilic do you think we can instead update the data?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, it would be better to clean the data directly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But then if someone tries to use BPE directly on the data straight from the source, they won't be able to read them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think users can use the data downloaded from OBI directly, as it will be cleaner and easier to understand. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we are busy with other tasks, we can use the nwb files in the original format. I will create a task to edit these files to make them simple.
10.48324/dandi.000293/0.220708.1652 (human), and
10.48324/dandi.000292/0.220708.1652 (mouse).