Calcium Imaging Analysis Guide

Guide calcium imaging pipelines for preprocessing, ROI extraction, and spike inference.

34|5|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills --skill calcium-imaging-analysis-guide
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Calcium Imaging Analysis Guide
Source: https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills/tree/main/skills/calcium-imaging-analysis-guide
Command: npx skills add https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills --skill calcium-imaging-analysis-guide

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Calcium imaging data analysis is technically demanding; this guide encodes domain-validated pipeline knowledge for preprocessing, ROI detection, neuropil correction, dF/F computation, deconvolution, and quality metrics to enable robust neural signal extraction from calcium signals.

Core Features & Use Cases

  • Domain-specific decisions for 2P, 1P, and fiber photometry calcium imaging; provides recommended parameter values and pitfalls for accurate spike inference; supports researchers designing and analyzing experiments.
  • Use Case: For a mouse cortex two-photon dataset, follow the recommended motion correction, ROI detection, neuropil correction, and deconvolution steps to estimate spike trains and QC metrics.
  • Use Case: Compare indicators GCaMP6s vs jGCaMP8 in a mixed dataset and choose tau and baseline methods accordingly.

Quick Start

Load your calcium imaging dataset and follow the step-by-step pipeline to obtain deconvolved spike estimates and QC metrics.

Frequently Asked Questions about Calcium Imaging Analysis Guide

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a calcium imaging analysis pipeline for two-photon or miniscope data?

A calcium imaging analysis pipeline for two-photon or miniscope data requires sequential preprocessing, ROI detection, neuropil correction, dF/F computation, and spike inference. This guide provides step-by-step parameter recommendations and quality control metrics for each stage to estimate accurate spike trains.

What tau value should I use for deconvolution with different calcium indicators like GCaMP6s and jGCaMP8?

Deconvolution requires indicator-specific tau values for accurate spike inference. GCaMP6s and jGCaMP8 have distinct decay kinetics, meaning you must choose tau and baseline methods according to your specific indicator to avoid distorted neural signal extraction.

Does this calcium imaging guide support both fiber photometry and one-photon datasets?

Yes, this calcium imaging guide supports fiber photometry and one-photon datasets alongside two-photon data. It provides domain-specific decisions for background modeling and motion correction tailored to each modality to ensure robust signal extraction.

Why do I need neuropil correction in my calcium imaging preprocessing workflow?

Neuropil correction is needed in calcium imaging preprocessing to remove background fluorescence contamination from surrounding tissue. Without it, ROI signals include out-of-focus background activity, leading to inaccurate dF/F computation and unreliable deconvolved spike estimates.

What quality metrics should I check after calcium imaging deconvolution?

After calcium imaging deconvolution, you should check standardized quality metrics evaluating ROI stability, motion artifacts, and spike inference accuracy. This guide enforces explicit quality control requirements to validate the robustness of your neural signal extraction pipeline.