convnwb.paths.create.create_session_directory¶
- convnwb.paths.create.create_session_directory(project_path, subject, experiment, session, recordings_name='recordings', session_folders={'01_raw': ['behavior', 'neural'], '02_processing': ['alignment', 'metadata', 'sorting', 'task'], '03_extracted': ['spikes', 'lfp']}, verbose=True)[source]¶
Create the folder structure for a session of data.
- Parameters:
- project_pathstr or Path
The path to the project folder.
- subjectstr
The subject code.
- experimentstr
Experiment name.
- sessionstr or int
The session label to create the folder structure for. Can be an integer index, or a string, for example session_0.
- recordings_namestr, optional
The name of the subfolder (within project_path) to store recordings.
- session_foldersdict, optional
Defines the folder names to initialize as part of the session folder. Each key defines a sub-directory within the session folder. Each set of values is a list of folder names for within each sub-directory.
- verbosebool, optional, default: True
Whether to print out information.