allensdk.brain_observatory.behavior.metadata_processing module¶
-
allensdk.brain_observatory.behavior.metadata_processing.
get_expt_description
(session_type: str) → str[source]¶ Determine a behavior ophys session’s experiment description based on session type.
Parameters: - session_type : str
A session description string (e.g. OPHYS_1_images_B )
Returns: - str
A description of the experiment based on the session_type.
Raises: - RuntimeError
Behavior ophys sessions should only have 6 different session types. Unknown session types (or malformed session_type strings) will raise an error.