allensdk.brain_observatory.behavior.utils.metadata_parsers module¶
- allensdk.brain_observatory.behavior.utils.metadata_parsers.parse_behavior_context(session_type: str) str [source]¶
Return if session is passive or active.
- Parameters:
- session_typestr
String session type name.
- Returns:
- behavior_typestr
Return string describing active or passive session.
- allensdk.brain_observatory.behavior.utils.metadata_parsers.parse_num_cortical_structures(project_code: str) str | None [source]¶
Return the number of structures that were targeted for this session.
- Parameters:
- project_codestr
Full project name of the experiment.
- Returns:
- num_structuresint
Number of structures targeted for the session.
- allensdk.brain_observatory.behavior.utils.metadata_parsers.parse_num_depths(project_code: str) str | None [source]¶
Return the number of depths that were imaged for the session.
- Parameters:
- project_codestr
Full project name of the experiment.
- Returns:
- num_depthsint
Number of depths imaged for the session.