brainsets.utils¶
- loadmat(filename)[source]¶
This function should be called instead of direct spio.loadmat as it cures the problem of not properly recovering python dictionaries from mat files. It calls the function check keys to cure all entries which are still mat-objects.
- extract_subject_from_nwb(nwbfile)[source]¶
DANDI has requirements for metadata included in subject. This includes: subject_id: A subject identifier must be provided. species: either a latin binomial or NCBI taxonomic identifier. sex: must be “M”, “F”, “O” (other), or “U” (unknown). date_of_birth or age: this does not appear to be enforced, so will be skipped.