Typical workflow
A typical workflow involves the following steps:
- Conversion from RAW to HDF5
- Motion correction
- ROI drawing
- Signal extraction and decontamination
- ΔF/F₀ computation
This provides a very broad overview of what the software provides. For a step-by-step guide going through each of these commands, you should read the tutorials.
Conversion from RAW to HDF5
This step converts the RAW binary files coming from a 2-photon scope into the HDF5 file format for easier storage.
drim2p convert raw /path/to/your/recordings.raw
Motion correction
This step corrects for motion artifacts in recordings.
drim2p motion correct /path/to/your/recordings.h5 --settings-path /path/to/your/settings.toml
ROI drawing
This step allows drawing ROIs around cells for further preprocessing.
drim2p draw roi /path/to/your/recordings.h5
Signal extraction and decontamination
This step extracts "true" signals for the cells denoted by the drawn ROIs.
drim2p extract signal /path/to/your/recordings.h5
ΔF/F₀ computation
This step compute ΔF/F₀ for extracted signals.
drim2p delta /path/to/your/recordings.h