extract_subject_from_nwb#

brainsets.utils.dandi_utils.extract_subject_from_nwb(nwbfile)[source]#

Extract a SubjectDescription from an NWBFile

The resultant description will include id, species, and sex

Parameters:

nwbfile (NWBFile) – An open NWB file handle

Returns:

A SubjectDescription