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

Full Dataset #12

Merged
merged 21 commits into from
Nov 25, 2024
Merged

Full Dataset #12

merged 21 commits into from
Nov 25, 2024

Conversation

pauladkisson
Copy link
Member

@pauladkisson pauladkisson commented Nov 20, 2024

This PR adds convert_all_sessions script and various small fixes.

See 4 example files here: https://drive.google.com/drive/folders/1I5_OG9KgcCskHRxIs0gHDlLGdOoEDaCM

This was referenced Nov 20, 2024
@pauladkisson
Copy link
Member Author

Note: intrinsic signal imaging and video data will be added in a future PR when I get that data from Schneider Lab.

This was referenced Nov 20, 2024
Copy link

@h-mayorquin h-mayorquin left a 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):

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

Copy link
Member Author

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.

@pauladkisson pauladkisson merged commit b9ed27c into main Nov 25, 2024
@pauladkisson pauladkisson deleted the new_data branch November 25, 2024 17:13
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.

2 participants