Skip to main content

Suite2p

Suite2p is a pipeline for processing two-photon calcium imaging data. It handles motion correction, ROI (cell) detection, fluorescence extraction, neuropil subtraction, and spike deconvolution.

Input formats

.tiff, .h5, .hdf5, .sbx, .nd2, .raw

Parameters

ParameterRangeDefaultDescription
nplanes1–1001Number of imaging planes
nchannels1–41Number of channels
Functional channel1–41Channel to use for cell detection
Frame rateFloatAuto-detectedImaging frame rate (Hz)
Motion correctionrigid / non-rigidrigidType of motion correction
Block size[Int, Int][128, 128]Block size for non-rigid correction
Gaussian smoothingFloat0Smoothing sigma for cell detection
Cell diameterInteger0 (auto)Expected cell diameter in pixels
Detection threshold0.1–51.0Scaling factor for detection sensitivity
Sparse modeToggleOffBetter for sparse recordings
Overlapping ROIsToggleOffAllow ROIs to overlap
Spike deconvolutionToggleOnDeconvolve calcium transients to spikes
Indicator tau0.1–101.0Calcium indicator time constant (seconds)
MATLAB exportToggleOffExport results in MATLAB format
Combined planesToggleOffCombine ROIs across planes

Outputs

OutputFormatDescription
Cell statisticsNPYROI shapes, positions, and properties
ROI mapNPYSpatial footprints of detected cells
Raw fluorescence (F)NPYRaw fluorescence traces per cell
Neuropil (Fneu)NPYNeuropil contamination traces
Deconvolved spikesNPYEstimated spike trains
Cell classificationNPYClassifier labels (cell vs. not-cell)
Registered movieBINMotion-corrected movie (optional)

Presets

PresetDescription
DefaultStandard settings for most recordings
Fast ProcessingReduced accuracy for quick preview
Multi-planeConfigured for multi-plane imaging
Dense LabelingLower threshold for densely labeled samples

Compute requirements

ResourceRequirement
GPUA10G or A100 for large datasets (8–14+ GB VRAM)
Duration~600 seconds baseline