How to write a session YAML for one probe
This guide shows you how to list the dataset folders of a single-shank probe, when they are not all in one folder.
Steps
Create a
.yamlfile. Give a top-levelpathfor the folder most datasets sit under, so the dataset paths can be relative:path: /mnt/data/subject01/2025-01-15 probes: probe00: datasets: spike_sorting: path: probe00/kilosort processed_ephys: path: probe00/kilosort raw_ephys: path: probe00/spikeglx picks: path: probe00/picks output: path: probe00/alignment
Add any optional datasets you have:
histologyorfeatures(see Session YAML).outputmust always be given.pickscan be left out ifxyz_picks.jsonis in the spike sorting folder, andprocessed_ephysif the RMS and power spectrum files are in theraw_ephysor the spike sorting folder.Open the file (see How to open a session) and check that each figure shows data.