convnwb.io.utils.make_session_name

convnwb.io.utils.make_session_name(subject, experiment, session)[source]

Create a standardized session name.

Parameters:
subjectstr

The subject label.

experimentstr, optional

Name of the experiment.

sessionstr or int

The session number. Can be an integer index, or a string, for example session_0.

add_extbool, optional, default: False

Whether to add the NWB extension to the file name.

Returns:
session_namestr

The session name.

Notes

The standard session name is structured as: ‘EXPERIMENT_SUBJECT_session_#’ Note that this is a flip of the experiment / subject order in the path layout.