This capsule is designed to append units information to an existing NWB file.
The data/
folder must include an input NWB file and the output of the
aind-ephys-result-collector capsule, including:
spikesorted
: collected sorted folders from spike sortingpostprocessed
: collected postprocessed folders from postprocessingcurated
: collected curated folders from curationIn addition, the capsule needs the the original session data (e.g., "ecephys_664438_2023-04-12_14-59-51") and all JSON files generated by the aind-ephys-job-dispatch, so that recordings can be reloaded.
The code/run
script takes no arguments.
The output of this capsule is a series of NWB files in the results/nwb
folder.
One NWB file is generated for each block (e.g., Open Ephys experiment) and segment (e.g., Open Ephys recording). Each NWB file contains multiple streams, i.e., multiple probes.
The name of the NWB file is as follows:
{nwb_original_file_name}_{block}_{recording_name}.nwb