-
Notifications
You must be signed in to change notification settings - Fork 0
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
Full Dataset #12
Full Dataset #12
Conversation
Note: intrinsic signal imaging and video data will be added in a future PR when I get that data from Schneider Lab. |
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.
Small questions and suggestions.
@@ -89,14 +89,17 @@ def get_metadata_schema(self) -> dict: | |||
} | |||
return metadata_schema | |||
|
|||
def add_to_nwbfile(self, nwbfile: NWBFile, metadata: dict): | |||
def add_to_nwbfile(self, nwbfile: NWBFile, metadata: dict, normalize_timestamps: bool = False): |
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.
Suggestion:
When working with the convert workflow the time shifting operations have a designated place:
https://neuroconv.readthedocs.io/en/main/user_guide/temporal_alignment.html#temporal-alignment-within-nwbconverter
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.
Yeah... but in this case I think it would really be awkward. There's lots of different timestamps that need to be normalized to the start time, I'd have to open up the file and read it twice, and I'm not even aligning the timestamps to a different stream, just normalizing them to the appropriate start time.
This PR adds convert_all_sessions script and various small fixes.
See 4 example files here: https://drive.google.com/drive/folders/1I5_OG9KgcCskHRxIs0gHDlLGdOoEDaCM