@brainpilot/skills 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -0
- package/package.json +35 -0
- package/skills/01_Meta-Skills/contribute-skill/SKILL.md +277 -0
- package/skills/01_Meta-Skills/contribute-skills-via-pr/SKILL.md +163 -0
- package/skills/01_Meta-Skills/paper-to-skill/SKILL.md +435 -0
- package/skills/01_Meta-Skills/paper-to-skill/references/extraction-guide.md +286 -0
- package/skills/01_Meta-Skills/paper-to-skill/references/skill-template.md +250 -0
- package/skills/01_Meta-Skills/repo-to-skill/SKILL.md +289 -0
- package/skills/01_Meta-Skills/share-case/SKILL.md +253 -0
- package/skills/01_Meta-Skills/share-usage/README.md +63 -0
- package/skills/01_Meta-Skills/share-usage/SKILL.md +395 -0
- package/skills/01_Meta-Skills/verify-skill/SKILL.md +331 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/SKILL.md +194 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/references/effect-sizes.md +352 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-power-analysis/references/sample-size-guide.md +407 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-statistics/SKILL.md +361 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-statistics/references/common-analyses.md +517 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-visualization/SKILL.md +292 -0
- package/skills/02_Cross-Domain_Foundation/cogsci-visualization/references/plot-recipes.md +709 -0
- package/skills/02_Cross-Domain_Foundation/research-literacy/SKILL.md +286 -0
- package/skills/02_Cross-Domain_Foundation/research-literacy/references/common-assumptions.md +320 -0
- package/skills/02_Cross-Domain_Foundation/research-literacy/references/planning-template.md +143 -0
- package/skills/03_Cognitive_Psychology/alternative-uses-task-designer/SKILL.md +197 -0
- package/skills/03_Cognitive_Psychology/alternative-uses-task-designer/references/instruction-templates.md +60 -0
- package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/SKILL.md +246 -0
- package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/references/classic-paradigms.md +435 -0
- package/skills/03_Cognitive_Psychology/cognitive-paradigm-design/references/design-principles.md +256 -0
- package/skills/03_Cognitive_Psychology/creativity-self-efficacy-mediation/SKILL.md +270 -0
- package/skills/03_Cognitive_Psychology/creativity-self-efficacy-mediation/references/lavaan-templates.md +172 -0
- package/skills/03_Cognitive_Psychology/divergent-thinking-scoring/SKILL.md +238 -0
- package/skills/03_Cognitive_Psychology/divergent-thinking-scoring/references/scoring-rubric.md +143 -0
- package/skills/03_Cognitive_Psychology/drift-diffusion-model/SKILL.md +203 -0
- package/skills/03_Cognitive_Psychology/drift-diffusion-model/references/fitting-guide.md +571 -0
- package/skills/03_Cognitive_Psychology/drift-diffusion-model/references/model-variants.md +427 -0
- package/skills/03_Cognitive_Psychology/evidence-accumulation-selector/SKILL.md +310 -0
- package/skills/03_Cognitive_Psychology/evidence-accumulation-selector/references/ez-diffusion-formulas.md +137 -0
- package/skills/03_Cognitive_Psychology/signal-detection-analysis/SKILL.md +300 -0
- package/skills/03_Cognitive_Psychology/signal-detection-analysis/references/application-guide.md +278 -0
- package/skills/03_Cognitive_Psychology/signal-detection-analysis/references/sdt-formulas.md +318 -0
- package/skills/03_Cognitive_Psychology/visual-search-array-generator/SKILL.md +283 -0
- package/skills/03_Cognitive_Psychology/visual-search-array-generator/references/array-generation-parameters.yaml +111 -0
- package/skills/04_Psycholinguistics/reading-time-analysis/SKILL.md +301 -0
- package/skills/04_Psycholinguistics/reading-time-analysis/references/measure-computation-guide.md +195 -0
- package/skills/04_Psycholinguistics/self-paced-reading-designer/SKILL.md +257 -0
- package/skills/04_Psycholinguistics/self-paced-reading-designer/references/analysis-guide.md +356 -0
- package/skills/04_Psycholinguistics/self-paced-reading-designer/references/region-segmentation.md +266 -0
- package/skills/04_Psycholinguistics/sentence-stimulus-norming/SKILL.md +346 -0
- package/skills/04_Psycholinguistics/sentence-stimulus-norming/references/lexical-databases-guide.md +184 -0
- package/skills/05_EEG_ERP/eeg-paradigm-designer/SKILL.md +226 -0
- package/skills/05_EEG_ERP/eeg-paradigm-designer/references/component-paradigm-map.md +276 -0
- package/skills/05_EEG_ERP/eeg-paradigm-designer/references/timing-parameters.md +244 -0
- package/skills/05_EEG_ERP/eeg-preprocessing-pipeline-guide/SKILL.md +367 -0
- package/skills/05_EEG_ERP/eeg-preprocessing-pipeline-guide/references/parameter-lookup-tables.md +138 -0
- package/skills/05_EEG_ERP/erp-analysis/SKILL.md +185 -0
- package/skills/05_EEG_ERP/erp-analysis/references/erp-components.md +447 -0
- package/skills/05_EEG_ERP/erp-analysis/references/preprocessing-pipeline.md +277 -0
- package/skills/05_EEG_ERP/erp-analysis/references/statistical-approaches.md +351 -0
- package/skills/05_EEG_ERP/mne-python-guide/SKILL.md +174 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/decoding.md +178 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/io_formats.md +160 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/preprocessing.md +259 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/simulation.md +173 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/source_localization.md +234 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/statistics.md +196 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/time_frequency.md +165 -0
- package/skills/05_EEG_ERP/mne-python-guide/references/visualization.md +175 -0
- package/skills/06_fMRI_Neuroimaging/brain-connectivity-modeler/SKILL.md +317 -0
- package/skills/06_fMRI_Neuroimaging/brain-connectivity-modeler/references/method-implementation-guide.md +116 -0
- package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/SKILL.md +296 -0
- package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/references/design-matrix-guide.md +214 -0
- package/skills/06_fMRI_Neuroimaging/fmri-glm-analysis-guide/references/statistical-inference.md +288 -0
- package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/SKILL.md +274 -0
- package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/references/quality-control.md +336 -0
- package/skills/06_fMRI_Neuroimaging/fmri-preprocessing-pipeline-guide/references/step-by-step-pipeline.md +380 -0
- package/skills/06_fMRI_Neuroimaging/fmri-task-design-guide/SKILL.md +264 -0
- package/skills/06_fMRI_Neuroimaging/fmri-task-design-guide/references/design-optimization-examples.md +114 -0
- package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/SKILL.md +273 -0
- package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/references/decoding-methods.md +170 -0
- package/skills/06_fMRI_Neuroimaging/neural-decoding-analysis/references/rsa-guide.md +266 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/SKILL.md +123 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/database-subjects.md +179 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/dataset-types.md +208 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/freesurfer-fmriprep.md +162 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/mapping-transforms.md +181 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/mni-utils.md +207 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/surface-analysis.md +219 -0
- package/skills/06_fMRI_Neuroimaging/pycortex-guide/references/visualization.md +251 -0
- package/skills/07_Computational_Modeling/act-r-model-builder/SKILL.md +297 -0
- package/skills/07_Computational_Modeling/act-r-model-builder/references/model-patterns.md +197 -0
- package/skills/07_Computational_Modeling/act-r-model-builder/references/parameter-table.yaml +204 -0
- package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/SKILL.md +294 -0
- package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/references/diagnostics-checklist.md +351 -0
- package/skills/07_Computational_Modeling/bayesian-cognitive-model-builder/references/prior-selection-guide.md +241 -0
- package/skills/07_Computational_Modeling/parameter-recovery-checker/SKILL.md +269 -0
- package/skills/07_Computational_Modeling/parameter-recovery-checker/references/recovery-diagnostics.md +207 -0
- package/skills/08_Computational_Neuroscience/brain-connectivity-modeler/SKILL.md +317 -0
- package/skills/08_Computational_Neuroscience/brain-connectivity-modeler/references/method-implementation-guide.md +116 -0
- package/skills/08_Computational_Neuroscience/neural-decoding-analysis/SKILL.md +273 -0
- package/skills/08_Computational_Neuroscience/neural-decoding-analysis/references/decoding-methods.md +170 -0
- package/skills/08_Computational_Neuroscience/neural-decoding-analysis/references/rsa-guide.md +266 -0
- package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/SKILL.md +305 -0
- package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/references/data-requirements.md +60 -0
- package/skills/08_Computational_Neuroscience/neural-population-analysis-guide/references/method-comparison.md +151 -0
- package/skills/08_Computational_Neuroscience/spiking-network-model-builder/SKILL.md +376 -0
- package/skills/08_Computational_Neuroscience/spiking-network-model-builder/references/hh-parameters.md +117 -0
- package/skills/08_Computational_Neuroscience/spiking-network-model-builder/references/network-regimes.md +130 -0
- package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/SKILL.md +258 -0
- package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/references/indicator-parameters.md +242 -0
- package/skills/09_Cellular_Molecular_Neuroscience/calcium-imaging-analysis-guide/references/pipeline-details.md +211 -0
- package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/SKILL.md +261 -0
- package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/references/opsin-catalog.md +124 -0
- package/skills/09_Cellular_Molecular_Neuroscience/optogenetics-protocol-designer/references/stimulation-parameters.md +304 -0
- package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/SKILL.md +367 -0
- package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/references/disconnection-guide.md +152 -0
- package/skills/10_Clinical_Neuropsychology/lesion-symptom-mapping-guide/references/vlsm-pipeline.md +182 -0
- package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/SKILL.md +250 -0
- package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/references/deficit-profiles.md +302 -0
- package/skills/10_Clinical_Neuropsychology/neuropsych-battery-selector/references/test-catalog.md +304 -0
- package/skills/11_Developmental_Cognition/infant-looking-time-designer/SKILL.md +345 -0
- package/skills/11_Developmental_Cognition/infant-looking-time-designer/references/age-parameters.yaml +186 -0
- package/skills/12_Social_Cognition/tom-task-selector/SKILL.md +379 -0
- package/skills/12_Social_Cognition/tom-task-selector/references/task-database.md +317 -0
- package/skills/13_Visualization/nature-figure/README.md +442 -0
- package/skills/13_Visualization/nature-figure/SKILL.md +60 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-01-bar-charts.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-02-line-trends.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-03-heatmaps.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-04-scatter-bubble.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-05-radar-polar.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-06-distributions.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-07-forest-interval.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-08-area-stacked.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-09-image-plates.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/chart-atlas/atlas-10-network-matrix.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_motivation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_observation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/Dispersion_observation_distillation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_contrastive.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_results_CEDAR.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_results_IEDB.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/ImmunoStruct_schematic.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/assets/RNAGenScape_schematic.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/figures/ablation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/figures/comparison.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/plot_ablation.py +86 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_CellSpliceNet/plot_comparison.py +109 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/diffusion_swiss_roll.py +97 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/diffusion_swiss_roll.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_GeneRegulatory.pdf +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_GeneRegulatory.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_Trajectory.pdf +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/fig2_comparison_Trajectory.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/figX_comparison_Ablation.pdf +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/figures/figX_comparison_Ablation.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_Ablation.py +64 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_GeneRegulatory.py +74 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Cflows/plot_comparison_Trajectory.py +74 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/figures/idea.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/figures/illustration.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/plot_idea.py +76 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_Dispersion/plot_illustration.py +404 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_FPGM/figures/freq_prior.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_FPGM/plot_freq_prior.py +146 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_ablation_Cancer.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_ablation_IEDB.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_comparison_Cancer.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/figures/bars_comparison_IEDB.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/plot_bars.py +216 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ImmunoStruct/raw_data.py +125 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/manifold.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/manifold_holes.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_comparison_optimization.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_comparison_speed.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/figures/results_sweep.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_comparison.py +228 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_hole_manifold.py +82 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_manifold.py +61 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_RNAGenScape/plot_sweep.py +77 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/figures/comparison_posttraining.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/figures/comparison_radar.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/plot_comparison_radar.py +173 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_VIGIL/plot_posttraining.py +82 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/brute_force.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/correctness_by_category.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/correctness_by_subcategory.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/rewriting.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/figures/selfcorrection_math.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_brute_force.py +248 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_correctness_by_category.py +132 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_correctness_by_subcategory.py +131 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_rewriting.py +105 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_brainteaser/plot_selfcorrection_math.py +99 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/figures/composition_heatmap.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/figures/trend_by_month.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/plot_composition.py +81 -0
- package/skills/13_Visualization/nature-figure/assets/figures4papers/figure_ophthal_review/plot_trend.py +125 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig1-material-mechanism-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig2-spatial-imaging-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig3-in-vivo-efficacy-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig4-single-cell-systems-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/assets/gallery/fig5-validation-perturbation-rich.png +0 -0
- package/skills/13_Visualization/nature-figure/evals/evals.json +37 -0
- package/skills/13_Visualization/nature-figure/manifest.yaml +57 -0
- package/skills/13_Visualization/nature-figure/references/api.md +428 -0
- package/skills/13_Visualization/nature-figure/references/backend-selection.md +100 -0
- package/skills/13_Visualization/nature-figure/references/chart-types.md +281 -0
- package/skills/13_Visualization/nature-figure/references/common-patterns.md +350 -0
- package/skills/13_Visualization/nature-figure/references/demos.md +65 -0
- package/skills/13_Visualization/nature-figure/references/design-theory.md +436 -0
- package/skills/13_Visualization/nature-figure/references/figure-contract.md +93 -0
- package/skills/13_Visualization/nature-figure/references/nature-2026-observations.md +112 -0
- package/skills/13_Visualization/nature-figure/references/qa-contract.md +119 -0
- package/skills/13_Visualization/nature-figure/references/r-template-index.md +66 -0
- package/skills/13_Visualization/nature-figure/references/r-workflow.md +161 -0
- package/skills/13_Visualization/nature-figure/references/tutorials.md +251 -0
- package/skills/13_Visualization/nature-figure/static/core/contract.md +29 -0
- package/skills/13_Visualization/nature-figure/static/core/stance.md +37 -0
- package/skills/13_Visualization/nature-figure/static/fragments/backend/python.md +37 -0
- package/skills/13_Visualization/nature-figure/static/fragments/backend/r.md +44 -0
- package/skills/14_Writing/markdown-report-writing/SKILL.md +306 -0
- package/skills/14_Writing/markdown-report-writing/references/compatibility-matrix.md +72 -0
- package/skills/14_Writing/markdown-report-writing/references/templates.md +299 -0
- package/skills/15_Others/neuroimaging-power-guide/SKILL.md +324 -0
- package/skills/15_Others/neuroimaging-power-guide/references/effect-size-lookup-tables.md +102 -0
- package/skills/15_Others/neuroimaging-sample-size-calculator/SKILL.md +330 -0
- package/skills/15_Others/neuroimaging-sample-size-calculator/references/worked-examples.md +220 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# Network Regimes and Parameter Sweeps
|
|
2
|
+
|
|
3
|
+
This reference document supplements `SKILL.md` with extended detail on the Brunel (2000) network regimes and practical parameter sweep guidance.
|
|
4
|
+
|
|
5
|
+
## Brunel (2000) Network Regimes
|
|
6
|
+
|
|
7
|
+
The behavior of a balanced random network of LIF neurons is determined by two key parameters (Brunel, 2000):
|
|
8
|
+
|
|
9
|
+
1. **g**: Relative inhibitory synaptic strength (g = |J_I| / J_E)
|
|
10
|
+
2. **nu_ext / nu_thr**: Ratio of external input rate to threshold rate
|
|
11
|
+
|
|
12
|
+
### Regime Map
|
|
13
|
+
|
|
14
|
+
| Regime | Abbreviation | g range | nu_ext/nu_thr | Firing pattern | Synchrony | Source |
|
|
15
|
+
|---|---|---|---|---|---|---|
|
|
16
|
+
| Synchronous Regular | SR | < 4 | > 1 | Regular (CV << 1) | High | Brunel, 2000 |
|
|
17
|
+
| Synchronous Irregular | SI | 4--8 | < 1 | Irregular (CV ~ 1) | High (oscillatory) | Brunel, 2000 |
|
|
18
|
+
| Asynchronous Regular | AR | < 4 | close to 1 | Regular (CV << 1) | Low | Brunel, 2000 |
|
|
19
|
+
| **Asynchronous Irregular** | **AI** | **4--8** | **> 1** | **Irregular (CV ~ 1)** | **Low** | **Brunel, 2000** |
|
|
20
|
+
|
|
21
|
+
The **AI regime** is the biologically relevant target for most cortical network models.
|
|
22
|
+
|
|
23
|
+
### Practical Parameter Recommendations for AI Regime
|
|
24
|
+
|
|
25
|
+
For a network of N_E = 8000 excitatory and N_I = 2000 inhibitory LIF neurons (Brunel, 2000):
|
|
26
|
+
|
|
27
|
+
| Parameter | Value | Notes |
|
|
28
|
+
|---|---|---|
|
|
29
|
+
| Connection probability (epsilon) | 0.1 | Each neuron receives C_E = 800 excitatory and C_I = 200 inhibitory inputs |
|
|
30
|
+
| Excitatory weight (J_E) | 0.1 mV (PSP amplitude) | Resulting in small unitary PSPs |
|
|
31
|
+
| Relative inhibition (g) | 5--6 | Ensures AI regime |
|
|
32
|
+
| External rate (nu_ext) | 2 * nu_thr | Drive just above threshold for sparse firing |
|
|
33
|
+
| Expected excitatory firing rate | 1--5 Hz | Depends on exact g and nu_ext |
|
|
34
|
+
| Expected inhibitory firing rate | 5--15 Hz | Higher than excitatory due to lower threshold or higher drive |
|
|
35
|
+
|
|
36
|
+
### Transition Boundaries
|
|
37
|
+
|
|
38
|
+
Key transitions as g increases (at fixed nu_ext > nu_thr):
|
|
39
|
+
|
|
40
|
+
1. **g < 4**: Network is excitation-dominated; synchronous bursts
|
|
41
|
+
2. **g ~ 4**: Transition to inhibition-dominated; onset of irregularity
|
|
42
|
+
3. **g = 4--8**: AI regime; irregular firing, low synchrony
|
|
43
|
+
4. **g > 8**: Firing rates drop substantially; may become quiescent
|
|
44
|
+
|
|
45
|
+
Key transitions as nu_ext changes (at fixed g = 5):
|
|
46
|
+
|
|
47
|
+
1. **nu_ext < nu_thr**: Subthreshold drive; network relies on recurrent excitation; SI regime with oscillations
|
|
48
|
+
2. **nu_ext ~ nu_thr**: Transition region
|
|
49
|
+
3. **nu_ext > nu_thr**: Suprathreshold drive; AI regime
|
|
50
|
+
|
|
51
|
+
## Parameter Sweep Protocol
|
|
52
|
+
|
|
53
|
+
When building a new network model, follow this systematic parameter sweep to find the AI regime:
|
|
54
|
+
|
|
55
|
+
### Step 1: Fix Network Architecture
|
|
56
|
+
- N_E = 4000, N_I = 1000 (or scale up by factor of 2)
|
|
57
|
+
- epsilon = 0.1 (connection probability)
|
|
58
|
+
- J_E = 0.1 mV (will be adjusted)
|
|
59
|
+
|
|
60
|
+
### Step 2: Sweep g and nu_ext
|
|
61
|
+
```
|
|
62
|
+
g_values = [3, 4, 5, 6, 7, 8]
|
|
63
|
+
nu_ext_values = [0.8, 1.0, 1.2, 1.5, 2.0, 3.0] * nu_thr
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
For each (g, nu_ext) pair:
|
|
67
|
+
1. Simulate for 1500 ms (discard first 500 ms)
|
|
68
|
+
2. Compute: mean firing rate, CV of ISI, synchrony index (chi)
|
|
69
|
+
|
|
70
|
+
### Step 3: Identify AI Regime
|
|
71
|
+
Select parameters where:
|
|
72
|
+
- Mean excitatory rate: 1--10 Hz
|
|
73
|
+
- CV of ISI: 0.8--1.2
|
|
74
|
+
- Synchrony index chi < 0.2
|
|
75
|
+
|
|
76
|
+
### Step 4: Fine-Tune
|
|
77
|
+
Once in the approximate AI regime, fine-tune with smaller parameter steps if needed.
|
|
78
|
+
|
|
79
|
+
## Weight Scaling Derivation
|
|
80
|
+
|
|
81
|
+
For a balanced network (Brunel, 2000; van Vreeswijk & Sompolinsky, 1998):
|
|
82
|
+
|
|
83
|
+
The mean input to a neuron:
|
|
84
|
+
```
|
|
85
|
+
mu = C_E * J_E * nu_E - C_I * J_I * nu_I + J_ext * C_ext * nu_ext
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
For balance (mu ~ 0 in the fluctuation-driven regime):
|
|
89
|
+
```
|
|
90
|
+
C_E * J_E * nu_E ~ C_I * J_I * nu_I
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Since C_I/C_E = 1/4 (from the 80/20 split with equal connection probability):
|
|
94
|
+
```
|
|
95
|
+
J_I = 4 * J_E * (nu_E / nu_I)
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
For equal firing rates (nu_E ~ nu_I): J_I = 4 * J_E, hence g = 4 is the boundary.
|
|
99
|
+
|
|
100
|
+
The variance of the input (which drives the irregular firing) scales as:
|
|
101
|
+
```
|
|
102
|
+
sigma^2 = C_E * J_E^2 * nu_E + C_I * J_I^2 * nu_I
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
For the CV to be ~1, sigma must be of order (V_thresh - V_rest), which constrains J_E relative to C_E (i.e., J_E ~ 1/sqrt(C_E)).
|
|
106
|
+
|
|
107
|
+
## Multi-Population Extensions
|
|
108
|
+
|
|
109
|
+
For networks with more than one excitatory and one inhibitory population (e.g., Potjans & Diesmann, 2014 cortical column model):
|
|
110
|
+
|
|
111
|
+
### Potjans-Diesmann Cortical Column
|
|
112
|
+
|
|
113
|
+
| Layer | Population | N | Source |
|
|
114
|
+
|---|---|---|---|
|
|
115
|
+
| L2/3 | E | 20,683 | Potjans & Diesmann, 2014 |
|
|
116
|
+
| L2/3 | I | 5,834 | Potjans & Diesmann, 2014 |
|
|
117
|
+
| L4 | E | 21,915 | Potjans & Diesmann, 2014 |
|
|
118
|
+
| L4 | I | 5,479 | Potjans & Diesmann, 2014 |
|
|
119
|
+
| L5 | E | 4,850 | Potjans & Diesmann, 2014 |
|
|
120
|
+
| L5 | I | 1,065 | Potjans & Diesmann, 2014 |
|
|
121
|
+
| L6 | E | 14,395 | Potjans & Diesmann, 2014 |
|
|
122
|
+
| L6 | I | 2,948 | Potjans & Diesmann, 2014 |
|
|
123
|
+
|
|
124
|
+
Connection probabilities between populations form a 8x8 matrix. See Potjans & Diesmann (2014), Table 5 for the full connectivity matrix.
|
|
125
|
+
|
|
126
|
+
## References
|
|
127
|
+
|
|
128
|
+
- Brunel, N. (2000). Dynamics of sparsely connected networks of excitatory and inhibitory spiking neurons. *Journal of Computational Neuroscience*, 8(3), 183--208.
|
|
129
|
+
- Potjans, T. C., & Diesmann, M. (2014). The cell-type specific cortical microcircuit: Relating structure and activity in a full-scale spiking network model. *Cerebral Cortex*, 24(3), 785--806.
|
|
130
|
+
- van Vreeswijk, C., & Sompolinsky, H. (1998). Chaotic balanced state in a model of cortical circuits. *Neural Computation*, 10(6), 1321--1371.
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "calcium-imaging-analysis-guide"
|
|
3
|
+
description: "Domain-validated pipeline guidance for calcium imaging data analysis: motion correction, ROI extraction, neuropil correction, spike inference, and quality control"
|
|
4
|
+
domain: "cellular-molecular-neuroscience"
|
|
5
|
+
version: "1.0.0"
|
|
6
|
+
authors:
|
|
7
|
+
- "Claude (AI-assisted)"
|
|
8
|
+
papers:
|
|
9
|
+
- "Chen et al., 2013"
|
|
10
|
+
- "Pachitariu et al., 2017"
|
|
11
|
+
- "Giovannucci et al., 2019"
|
|
12
|
+
- "Friedrich et al., 2017"
|
|
13
|
+
- "Zhang et al., 2023"
|
|
14
|
+
dependencies:
|
|
15
|
+
required:
|
|
16
|
+
- research-literacy
|
|
17
|
+
review_status: "ai-generated"
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# Calcium Imaging Analysis Guide
|
|
21
|
+
|
|
22
|
+
## Purpose
|
|
23
|
+
|
|
24
|
+
This skill encodes expert methodological knowledge for analyzing calcium imaging data from fluorescent genetically encoded calcium indicators (GECIs). It covers the domain-specific decisions that a general-purpose programmer or data scientist would get wrong without specialized training in optical neurophysiology: choosing deconvolution parameters based on indicator kinetics, correcting neuropil contamination, handling modality-specific preprocessing, and interpreting fluorescence signals as neural activity.
|
|
25
|
+
|
|
26
|
+
## When to Use This Skill
|
|
27
|
+
|
|
28
|
+
- Designing an analysis pipeline for two-photon, one-photon/miniscope, or fiber photometry data
|
|
29
|
+
- Choosing motion correction strategy for awake behaving animal recordings
|
|
30
|
+
- Selecting ROI detection method for your preparation density and imaging modality
|
|
31
|
+
- Setting deconvolution parameters matched to your calcium indicator
|
|
32
|
+
- Evaluating whether extracted signals reflect genuine single-neuron activity
|
|
33
|
+
- Troubleshooting common artifacts: photobleaching, neuropil contamination, motion
|
|
34
|
+
|
|
35
|
+
## Research Planning Protocol
|
|
36
|
+
|
|
37
|
+
Before executing the domain-specific steps below, you MUST:
|
|
38
|
+
|
|
39
|
+
1. **State the research question** — What neural activity question is this calcium imaging analysis addressing?
|
|
40
|
+
2. **Justify the method choice** — Why calcium imaging (not electrophysiology, fMRI, etc.)? What alternatives were considered?
|
|
41
|
+
3. **Declare expected outcomes** — What activity patterns would support vs. refute the hypothesis?
|
|
42
|
+
4. **Note assumptions and limitations** — What does this method assume? Where could it mislead (e.g., indicator kinetics, neuropil)?
|
|
43
|
+
5. **Present the plan to the user and WAIT for confirmation** before proceeding.
|
|
44
|
+
|
|
45
|
+
For detailed methodology guidance, see the `research-literacy` skill.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## ⚠️ Verification Notice
|
|
49
|
+
|
|
50
|
+
This skill was generated by AI from academic literature. All parameters, thresholds, and citations require independent verification before use in research. If you find errors, please [open an issue](https://github.com/HaoxuanLiTHUAI/awesome_cognitive_and_neuroscience_skills/issues).
|
|
51
|
+
|
|
52
|
+
## Decision Tree: Which Pipeline for Your Modality
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
What is your imaging modality?
|
|
56
|
+
|
|
|
57
|
+
+-- Two-photon (2P) microscopy
|
|
58
|
+
| |
|
|
59
|
+
| +-- Sparse labeling (Cre-dependent, cell-type specific)?
|
|
60
|
+
| | --> Suite2P or CaImAn with standard CNMF
|
|
61
|
+
| | Neuropil coefficient ~0.7 (Chen et al., 2013)
|
|
62
|
+
| |
|
|
63
|
+
| +-- Dense labeling (pan-neuronal)?
|
|
64
|
+
| --> Suite2P with increased max_overlap (>=0.75)
|
|
65
|
+
| or CaImAn CNMF with careful merge parameters
|
|
66
|
+
| Consider soma-targeted indicators (Chen et al., 2020)
|
|
67
|
+
|
|
|
68
|
+
+-- One-photon (1P) / miniscope
|
|
69
|
+
| |
|
|
70
|
+
| --> CNMF-E (Zhou et al., 2018) or MIN1PIPE (Lu et al., 2018)
|
|
71
|
+
| Standard CNMF will FAIL: 1P has large structured background
|
|
72
|
+
| that requires explicit background modeling
|
|
73
|
+
| CaImAn supports 1P via CNMF-E mode
|
|
74
|
+
|
|
|
75
|
+
+-- Fiber photometry (population-level)
|
|
76
|
+
|
|
|
77
|
+
--> No single-cell extraction needed
|
|
78
|
+
Use isosbestic channel (405-415 nm) for motion/bleaching correction
|
|
79
|
+
IRLS regression preferred over OLS (Lerner et al., 2015)
|
|
80
|
+
Compute dF/F or z-scored signal
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Core Pipeline Steps
|
|
84
|
+
|
|
85
|
+
### Step 1: Motion Correction
|
|
86
|
+
|
|
87
|
+
Motion correction must precede all other analysis. Uncorrected motion creates false transients and blurs cellular signals.
|
|
88
|
+
|
|
89
|
+
| Parameter | Rigid | Non-Rigid | Source |
|
|
90
|
+
|-----------|-------|-----------|--------|
|
|
91
|
+
| Use case | Anesthetized or head-fixed, stable | Awake behaving, brain pulsation | Pnevmatikakis & Giovannucci, 2017 |
|
|
92
|
+
| Max shift | 10% of FOV (default) | 10% of FOV per patch | Suite2P default |
|
|
93
|
+
| Reference frame | Iterative: top 20 of 300 random frames | Same, per-patch | Pachitariu et al., 2017 |
|
|
94
|
+
|
|
95
|
+
**Domain judgment**:
|
|
96
|
+
- Always use non-rigid registration for awake behaving animals. Brain tissue deforms non-uniformly due to heartbeat, respiration, and locomotion (Dombeck et al., 2007).
|
|
97
|
+
- For 1P/miniscope data, apply spatial high-pass filtering before estimating motion vectors, because the large fluctuating background confounds rigid correlation-based registration (Giovannucci et al., 2019).
|
|
98
|
+
- Inspect registration quality by computing the correlation of each frame to the reference. Frames with correlation below **0.5** indicate severe motion and should be flagged or excluded (expert consensus).
|
|
99
|
+
- Edge pixels that shift out of the FOV during registration should be cropped; ROIs near edges may have unreliable signals.
|
|
100
|
+
|
|
101
|
+
### Step 2: ROI Detection
|
|
102
|
+
|
|
103
|
+
| Method | Best For | Tool | Source |
|
|
104
|
+
|--------|----------|------|--------|
|
|
105
|
+
| CNMF / sparse NMF | 2P, moderate density | CaImAn | Pnevmatikakis et al., 2016 |
|
|
106
|
+
| Clustering + PCA | 2P, large FOV | Suite2P | Pachitariu et al., 2017 |
|
|
107
|
+
| CNMF-E | 1P / miniscope | CaImAn (1P mode) | Zhou et al., 2018 |
|
|
108
|
+
| Cellpose (anatomical) | Weak functional signal, good morphology | Suite2P + Cellpose | Stringer et al., 2021 |
|
|
109
|
+
| PCA/ICA | Legacy, not recommended for dense data | Various | Mukamel et al., 2009 |
|
|
110
|
+
|
|
111
|
+
**Domain judgment**:
|
|
112
|
+
- Set expected cell diameter to match your preparation. Cortical pyramidal somata are ~10-15 um; Purkinje cells are ~25 um; granule cells are ~5 um. Converting to pixels depends on your magnification and pixel size.
|
|
113
|
+
- For dense labeling, increase `max_overlap` to 0.75-1.0 (Suite2P) or adjust merge thresholds (CaImAn). Default overlap rejection discards valid overlapping neurons.
|
|
114
|
+
- Set `connected=False` when detecting dendrites or axonal boutons, which are not spatially contiguous in 2D projections.
|
|
115
|
+
- Always manually curate detected ROIs. Automated classifiers achieve near-human performance (Giovannucci et al., 2019) but are not perfect, especially for non-standard preparations.
|
|
116
|
+
|
|
117
|
+
### Step 3: Neuropil Contamination Correction
|
|
118
|
+
|
|
119
|
+
**Why this matters**: In 2P imaging, each ROI's fluorescence contains signal from the surrounding neuropil (dense mesh of dendrites and axons). Without correction, you will observe artificial correlations between neurons, inflated response amplitudes, and obscured cell-specific tuning (Chen et al., 2013).
|
|
120
|
+
|
|
121
|
+
**Correction formula**:
|
|
122
|
+
```
|
|
123
|
+
F_corrected = F_raw - r * F_neuropil
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
| Parameter | Typical Value | Source |
|
|
127
|
+
|-----------|---------------|--------|
|
|
128
|
+
| Neuropil coefficient (r) | **0.7** (range: 0.5-0.8) | Chen et al., 2013 |
|
|
129
|
+
| Neuropil annulus inner gap | 2 pixels from ROI border | Suite2P default |
|
|
130
|
+
| Minimum neuropil pixels | 350 | Suite2P default |
|
|
131
|
+
|
|
132
|
+
**Domain judgment**:
|
|
133
|
+
- The coefficient r = 0.7 is an empirically derived average for 2P cortical imaging. It was estimated by measuring fluorescence in blood vessels (which should have zero true signal) relative to surrounding neuropil (Chen et al., 2013).
|
|
134
|
+
- Suite2P estimates r iteratively together with spike deconvolution, minimizing the deconvolution residual. This data-driven approach is preferred over a fixed coefficient.
|
|
135
|
+
- For 1P data, neuropil correction is handled differently: CNMF-E models the background as a low-rank spatiotemporal component rather than a per-ROI annulus (Zhou et al., 2018).
|
|
136
|
+
- Over-subtraction (r too high) produces negative fluorescence values. If you see many negative dF/F values, reduce r.
|
|
137
|
+
- For soma-targeted indicators (e.g., soma-GCaMP6f; Chen et al., 2020), neuropil contamination is reduced but not eliminated.
|
|
138
|
+
|
|
139
|
+
### Step 4: dF/F Computation
|
|
140
|
+
|
|
141
|
+
**Baseline estimation methods**:
|
|
142
|
+
|
|
143
|
+
| Method | Description | Best For | Source |
|
|
144
|
+
|--------|-------------|----------|--------|
|
|
145
|
+
| Rolling percentile (8th) | 8th percentile over sliding window | Continuous recordings, moderate activity | Dombeck et al., 2007 |
|
|
146
|
+
| Rolling percentile (10th-20th) | Higher percentile over sliding window | Lower activity preparations | Expert consensus |
|
|
147
|
+
| Exponential fit | Fit decaying exponential to session | Strong photobleaching | Giovannucci et al., 2019 |
|
|
148
|
+
| Mode of distribution | Histogram mode of fluorescence | Stable baseline, high frame rate | Peron et al., 2015 |
|
|
149
|
+
|
|
150
|
+
**Formula**:
|
|
151
|
+
```
|
|
152
|
+
dF/F = (F(t) - F0) / F0
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
**Domain judgment**:
|
|
156
|
+
- The sliding window for rolling percentile should be **30-60 seconds** to capture slow baseline fluctuations without tracking fast transients (expert consensus).
|
|
157
|
+
- Using the mean as baseline inflates dF/F for highly active neurons. Use a low percentile (8th-10th) or the mode instead (Dombeck et al., 2007).
|
|
158
|
+
- Photobleaching causes an exponential decay in baseline fluorescence. If uncorrected, early time points will have artificially low dF/F and late time points artificially high dF/F. Fit and subtract an exponential before computing dF/F (Giovannucci et al., 2019).
|
|
159
|
+
|
|
160
|
+
### Step 5: Deconvolution / Spike Inference
|
|
161
|
+
|
|
162
|
+
Deconvolution estimates the underlying spike train from the slow calcium fluorescence signal.
|
|
163
|
+
|
|
164
|
+
| Algorithm | Type | Speed | Strengths | Source |
|
|
165
|
+
|-----------|------|-------|-----------|--------|
|
|
166
|
+
| OASIS | Model-based (AR) | Very fast (1 us/frame) | Online, warm-startable, scalable | Friedrich et al., 2017 |
|
|
167
|
+
| FOOPSI | Model-based (L1) | Fast | Sparse, non-negative | Vogelstein et al., 2010 |
|
|
168
|
+
| CASCADE | Deep learning | Moderate | Noise-adaptive, calibrated rates | Rupprecht et al., 2021 |
|
|
169
|
+
| MLSpike | Bayesian | Slow | Principled uncertainty | Deneux et al., 2016 |
|
|
170
|
+
|
|
171
|
+
**Critical**: The deconvolution kernel decay constant (tau) must match your calcium indicator. See `references/indicator-parameters.md` for the full table.
|
|
172
|
+
|
|
173
|
+
| Indicator | tau (decay time) for deconvolution | Source |
|
|
174
|
+
|-----------|------------------------------------|--------|
|
|
175
|
+
| GCaMP6s | **~1.0-1.5 s** | Chen et al., 2013 |
|
|
176
|
+
| GCaMP6f | **~0.4 s** | Chen et al., 2013 |
|
|
177
|
+
| jGCaMP7f | **~0.3 s** | Dana et al., 2019 |
|
|
178
|
+
| jGCaMP8f | **~0.2 s** | Zhang et al., 2023 |
|
|
179
|
+
| jGCaMP8m | **~0.14 s** | Zhang et al., 2023 |
|
|
180
|
+
| jGCaMP8s | **~0.2 s** | Zhang et al., 2023 |
|
|
181
|
+
|
|
182
|
+
**Domain judgment**:
|
|
183
|
+
- If tau is wrong, deconvolution is systematically biased. Too long produces sluggish traces; too short produces overshoot artifacts.
|
|
184
|
+
- The kernel is fixed to tau in Suite2P; it is not fit to the data. Always verify your indicator and set tau explicitly.
|
|
185
|
+
- Do NOT threshold deconvolved events to create binary spike trains. This discards magnitude information: a 1-spike event and a 10-spike burst become identical (Pachitariu et al., 2017).
|
|
186
|
+
- Deconvolved amplitudes are in arbitrary units. There is an unknown scaling factor between fluorescence and spike count. Do not interpret amplitudes as absolute firing rates.
|
|
187
|
+
- CASCADE (Rupprecht et al., 2021) can produce calibrated spike rate estimates by resampling ground truth data to match your recording's noise level, but still has systematic errors at low SNR.
|
|
188
|
+
|
|
189
|
+
### Step 6: Quality Metrics for ROI Acceptance
|
|
190
|
+
|
|
191
|
+
| Metric | Criterion | Rationale | Source |
|
|
192
|
+
|--------|-----------|-----------|--------|
|
|
193
|
+
| SNR (peak transient / noise SD) | > **3** | Below this, transients are indistinguishable from noise | Giovannucci et al., 2019 |
|
|
194
|
+
| Skewness of dF/F trace | > **0.5** | Real calcium transients produce right-skewed distributions; noise is symmetric | Suite2P classifier |
|
|
195
|
+
| Spatial footprint compactness | Compact, soma-shaped | Diffuse or fragmented footprints indicate neuropil or artifacts | Giovannucci et al., 2019 |
|
|
196
|
+
| Spatial-temporal CNN score | > **0.5** (CaImAn) | Learned classifier combining shape and activity | Giovannucci et al., 2019 |
|
|
197
|
+
|
|
198
|
+
**Domain judgment**:
|
|
199
|
+
- SNR varies dramatically with indicator brightness, expression level, and imaging depth. An SNR of 3 is a minimum; SNR > 5 is preferred for reliable spike inference.
|
|
200
|
+
- Skewness exploits the biophysics: calcium transients have fast rise and slow decay, producing a positively skewed fluorescence distribution. Gaussian noise has skewness near zero.
|
|
201
|
+
- Always examine the spatial footprint. A valid somatic ROI should be roughly circular (10-20 um diameter in cortex). Elongated or multi-lobed footprints often indicate dendrites, overlapping cells, or motion artifacts.
|
|
202
|
+
|
|
203
|
+
## Common Pitfalls
|
|
204
|
+
|
|
205
|
+
1. **Wrong tau for your indicator**: Using GCaMP6s parameters for GCaMP6f data (or vice versa) produces incorrect deconvolution. Always check which indicator was used.
|
|
206
|
+
|
|
207
|
+
2. **Skipping neuropil correction**: Without subtracting r * F_neuropil, apparent correlations between nearby neurons will be inflated by shared neuropil signal. This is the most common error in published calcium imaging analyses.
|
|
208
|
+
|
|
209
|
+
3. **Using standard CNMF for 1P data**: One-photon microscopy has large, spatially structured background fluorescence from out-of-focus tissue. Standard CNMF assumes a sparse background and will fail. Use CNMF-E or MIN1PIPE.
|
|
210
|
+
|
|
211
|
+
4. **Ignoring photobleaching**: GECIs photobleach over minutes to hours. Uncorrected bleaching creates a downward trend that biases dF/F computation and can mask late-session activity.
|
|
212
|
+
|
|
213
|
+
5. **Motion artifacts in awake animals**: Residual motion after correction creates false transients synchronized across neurons (they all move together). Check for correlated artifacts by examining the relationship between motion metrics and neural activity.
|
|
214
|
+
|
|
215
|
+
6. **Indicator saturation at high firing rates**: GECIs have a limited dynamic range. At high firing rates (> 10-20 Hz for GCaMP6s, > 50 Hz for GCaMP8f), the fluorescence signal saturates and underestimates true activity (Chen et al., 2013). Faster indicators saturate at higher rates.
|
|
216
|
+
|
|
217
|
+
7. **Over-aggressive neuropil subtraction**: Setting r too high produces negative fluorescence, especially with bright indicators. Negative dF/F values that exceed noise levels indicate over-subtraction.
|
|
218
|
+
|
|
219
|
+
8. **Interpreting deconvolved amplitudes as spike counts**: The mapping from fluorescence to spike number is nonlinear and depends on indicator expression level, baseline calcium, and imaging conditions. Treat deconvolved traces as relative activity measures.
|
|
220
|
+
|
|
221
|
+
## Minimum Reporting Checklist
|
|
222
|
+
|
|
223
|
+
Based on community standards (Giovannucci et al., 2019; Pachitariu et al., 2017):
|
|
224
|
+
|
|
225
|
+
- [ ] Calcium indicator used (name and version, e.g., GCaMP6f, jGCaMP8s)
|
|
226
|
+
- [ ] Imaging modality and frame rate (e.g., 2P at 30 Hz, 1P miniscope at 20 Hz)
|
|
227
|
+
- [ ] Motion correction method (rigid/non-rigid) and software version
|
|
228
|
+
- [ ] ROI detection method and key parameters (cell diameter, threshold)
|
|
229
|
+
- [ ] Number of ROIs detected and accepted after curation
|
|
230
|
+
- [ ] Neuropil correction method and coefficient used
|
|
231
|
+
- [ ] dF/F baseline estimation method and window
|
|
232
|
+
- [ ] Deconvolution algorithm and tau value used
|
|
233
|
+
- [ ] Quality metrics and acceptance thresholds (SNR, skewness)
|
|
234
|
+
- [ ] Number of sessions, animals, and total neurons in final dataset
|
|
235
|
+
|
|
236
|
+
## Key References
|
|
237
|
+
|
|
238
|
+
- Chen, T. W., et al. (2013). Ultrasensitive fluorescent proteins for imaging neuronal activity. *Nature*, 499, 295-300.
|
|
239
|
+
- Chen, X., et al. (2020). Soma-targeted imaging of neural circuits by ribosome tethering. *Neuron*, 107(3), 454-469.
|
|
240
|
+
- Dana, H., et al. (2019). High-performance calcium sensors for imaging activity in neuronal populations and microcompartments. *Nature Methods*, 16, 649-657.
|
|
241
|
+
- Deneux, T., et al. (2016). Accurate spike estimation from noisy calcium signals via supervised learning. *Nature Communications*, 7, 12190.
|
|
242
|
+
- Dombeck, D. A., et al. (2007). Imaging large-scale neural activity with cellular resolution in awake, mobile mice. *Neuron*, 56(1), 43-57.
|
|
243
|
+
- Friedrich, J., Zhou, P., & Paninski, L. (2017). Fast online deconvolution of calcium imaging data. *PLOS Computational Biology*, 13(3), e1005423.
|
|
244
|
+
- Giovannucci, A., et al. (2019). CaImAn: An open source tool for scalable calcium imaging data analysis. *eLife*, 8, e38173.
|
|
245
|
+
- Lerner, T. N., et al. (2015). Intact-brain analyses reveal distinct information carried by SNc dopamine subcircuits. *Cell*, 162(3), 635-647.
|
|
246
|
+
- Lu, J., et al. (2018). MIN1PIPE: A miniscope 1-photon-based calcium imaging signal extraction pipeline. *Cell Reports*, 23(12), 3673-3684.
|
|
247
|
+
- Mukamel, E. A., et al. (2009). Automated analysis of cellular signals from large-scale calcium imaging data. *Neuron*, 63(6), 747-760.
|
|
248
|
+
- Pachitariu, M., et al. (2017). Suite2p: beyond 10,000 neurons with standard two-photon microscopy. *bioRxiv*, 061507.
|
|
249
|
+
- Peron, S. P., et al. (2015). A cellular resolution map of barrel cortex activity during tactile behavior. *Neuron*, 86(3), 783-799.
|
|
250
|
+
- Pnevmatikakis, E. A., et al. (2016). Simultaneous denoising, deconvolution, and demixing of calcium imaging data. *Neuron*, 89(2), 285-299.
|
|
251
|
+
- Pnevmatikakis, E. A., & Giovannucci, A. (2017). NoRMCorre: An online algorithm for piecewise rigid motion correction of calcium imaging data. *Journal of Neuroscience Methods*, 291, 83-94.
|
|
252
|
+
- Rupprecht, P., et al. (2021). A database and deep learning toolbox for noise-optimized, generalized spike inference from calcium imaging. *Nature Neuroscience*, 24, 1324-1337.
|
|
253
|
+
- Stringer, C., et al. (2021). Cellpose: a generalist algorithm for cellular segmentation. *Nature Methods*, 18, 100-106.
|
|
254
|
+
- Vogelstein, J. T., et al. (2010). Fast nonnegative deconvolution for spike train inference from population calcium imaging. *Journal of Neurophysiology*, 104(6), 3691-3704.
|
|
255
|
+
- Zhang, Y., et al. (2023). Fast and sensitive GCaMP calcium indicators for imaging neural populations. *Nature*, 615, 884-891.
|
|
256
|
+
- Zhou, P., et al. (2018). Efficient and accurate extraction of in vivo calcium signals from microendoscopic video data. *eLife*, 7, e28728.
|
|
257
|
+
|
|
258
|
+
See `references/pipeline-details.md` for tool comparisons and `references/indicator-parameters.md` for indicator kinetics tables.
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
# Indicator Parameters: Calcium Indicator Properties and Analysis Implications
|
|
2
|
+
|
|
3
|
+
## Genetically Encoded Calcium Indicator (GECI) Kinetics
|
|
4
|
+
|
|
5
|
+
### GCaMP Family Overview
|
|
6
|
+
|
|
7
|
+
The GCaMP family of genetically encoded calcium indicators is the most widely used class of GECIs in neuroscience. Each generation has improved sensitivity and/or kinetics, with direct implications for analysis pipeline configuration.
|
|
8
|
+
|
|
9
|
+
**Key principle**: Faster indicators allow resolving higher firing rates but may have lower sensitivity (smaller dF/F per spike). Slower indicators integrate more spikes, producing larger signals but poorer temporal resolution. This tradeoff was largely resolved with the jGCaMP8 family (Zhang et al., 2023).
|
|
10
|
+
|
|
11
|
+
### Kinetics Table: In Vivo Measurements
|
|
12
|
+
|
|
13
|
+
All values are for single action potential responses unless otherwise noted. In vivo values are reported where available, as in vitro kinetics are typically faster.
|
|
14
|
+
|
|
15
|
+
#### GCaMP6 Family (Chen et al., 2013)
|
|
16
|
+
|
|
17
|
+
| Indicator | Half-Rise Time (ms) | Half-Decay Time (ms) | dF/F per 1 AP (%) | Kd (nM) | Source |
|
|
18
|
+
|-----------|---------------------|-----------------------|--------------------|---------|--------|
|
|
19
|
+
| GCaMP6s | ~180 | ~550-600 | ~24 | ~144 | Chen et al., 2013 |
|
|
20
|
+
| GCaMP6m | ~80 | ~270 | ~15 | ~167 | Chen et al., 2013 |
|
|
21
|
+
| GCaMP6f | ~45 | ~140-200 | ~12 | ~375 | Chen et al., 2013 |
|
|
22
|
+
|
|
23
|
+
**Deconvolution tau recommendations for GCaMP6**:
|
|
24
|
+
- GCaMP6s: **tau = 1.0-1.5 s** (Suite2P default uses 1.0 s)
|
|
25
|
+
- GCaMP6m: **tau = 0.5-0.7 s**
|
|
26
|
+
- GCaMP6f: **tau = 0.3-0.4 s**
|
|
27
|
+
|
|
28
|
+
Note: The half-decay time and the exponential decay constant (tau) used for deconvolution are related but not identical. The half-decay time is t_1/2 = tau * ln(2). Suite2P uses tau as the exponential time constant. The values above account for this conversion and empirical tuning.
|
|
29
|
+
|
|
30
|
+
#### jGCaMP7 Family (Dana et al., 2019)
|
|
31
|
+
|
|
32
|
+
| Indicator | Half-Rise Time (ms) | Half-Decay Time (ms) | dF/F per 1 AP (%) | Kd (nM) | Source |
|
|
33
|
+
|-----------|---------------------|-----------------------|--------------------|---------|--------|
|
|
34
|
+
| jGCaMP7s | ~200 | ~600 | ~42 | ~68 | Dana et al., 2019 |
|
|
35
|
+
| jGCaMP7f | ~25-30 | ~270-280 | ~18 | ~174 | Dana et al., 2019 |
|
|
36
|
+
| jGCaMP7b | ~20 | ~120 | ~7 | ~82 | Dana et al., 2019 |
|
|
37
|
+
| jGCaMP7c | ~25 | ~250 | ~12 | ~298 | Dana et al., 2019 |
|
|
38
|
+
|
|
39
|
+
**Deconvolution tau recommendations for jGCaMP7**:
|
|
40
|
+
- jGCaMP7s: **tau = 1.0-1.5 s**
|
|
41
|
+
- jGCaMP7f: **tau = 0.3-0.4 s**
|
|
42
|
+
- jGCaMP7b: **tau = 0.15-0.2 s**
|
|
43
|
+
- jGCaMP7c: **tau = 0.3-0.4 s**
|
|
44
|
+
|
|
45
|
+
#### jGCaMP8 Family (Zhang et al., 2023)
|
|
46
|
+
|
|
47
|
+
Measured in vivo in Drosophila L2 neurons:
|
|
48
|
+
|
|
49
|
+
| Indicator | Half-Rise Time (ms) | Half-Decay Time (ms) | dF/F per 1 AP (%) | Source |
|
|
50
|
+
|-----------|---------------------|-----------------------|--------------------|--------|
|
|
51
|
+
| jGCaMP8s | ~80 | ~198 | ~38 | Zhang et al., 2023 |
|
|
52
|
+
| jGCaMP8m | ~58 | ~137 | ~34 | Zhang et al., 2023 |
|
|
53
|
+
| jGCaMP8f | ~76 | ~192 | ~24 | Zhang et al., 2023 |
|
|
54
|
+
|
|
55
|
+
**Deconvolution tau recommendations for jGCaMP8**:
|
|
56
|
+
- jGCaMP8s: **tau = 0.2-0.3 s**
|
|
57
|
+
- jGCaMP8m: **tau = 0.14-0.2 s**
|
|
58
|
+
- jGCaMP8f: **tau = 0.2-0.3 s**
|
|
59
|
+
|
|
60
|
+
Note: jGCaMP8 kinetics measured in Drosophila may differ from mouse cortical neurons. Verify with pilot data when possible. In mouse V1, preliminary data suggest similar trends with slightly longer time constants due to calcium buffering differences.
|
|
61
|
+
|
|
62
|
+
### Cross-Generation Comparison: Speed vs. Sensitivity
|
|
63
|
+
|
|
64
|
+
| Indicator | Relative Speed | Relative Sensitivity (1 AP) | Best Use Case |
|
|
65
|
+
|-----------|---------------|------------------------------|---------------|
|
|
66
|
+
| GCaMP6s | Slowest | High | Low-firing populations, dendrites |
|
|
67
|
+
| GCaMP6f | Moderate | Moderate | General purpose 2P |
|
|
68
|
+
| jGCaMP7f | Moderate-Fast | High | General purpose, improved over 6f |
|
|
69
|
+
| jGCaMP7s | Slow | Highest (GCaMP7 family) | Maximum sensitivity needed |
|
|
70
|
+
| jGCaMP8s | Fast | Very high | High sensitivity + speed |
|
|
71
|
+
| jGCaMP8m | Fastest | Very high | Fast-spiking neurons, burst detection |
|
|
72
|
+
| jGCaMP8f | Fast | High | General purpose, best kinetics/sensitivity balance |
|
|
73
|
+
|
|
74
|
+
## Choosing an Indicator Based on Expected Firing Rate
|
|
75
|
+
|
|
76
|
+
The temporal resolution of calcium imaging is fundamentally limited by indicator kinetics. The maximum resolvable firing rate depends on the indicator's decay time.
|
|
77
|
+
|
|
78
|
+
### Firing Rate Resolution Limits
|
|
79
|
+
|
|
80
|
+
| Indicator | Approximate Max Resolvable Rate | Rationale | Source |
|
|
81
|
+
|-----------|---------------------------------|-----------|--------|
|
|
82
|
+
| GCaMP6s | **~2-3 Hz** | Consecutive transients merge above ~2 Hz | Chen et al., 2013 |
|
|
83
|
+
| GCaMP6f | **~5-10 Hz** | Resolution interval ~50-75 ms | Chen et al., 2013 |
|
|
84
|
+
| jGCaMP7f | **~5-10 Hz** | Similar decay to GCaMP6f but higher sensitivity | Dana et al., 2019 |
|
|
85
|
+
| jGCaMP8m | **~15-30 Hz** | Fastest decay in the family | Zhang et al., 2023 |
|
|
86
|
+
| jGCaMP8f | **~10-20 Hz** | Good balance for most applications | Zhang et al., 2023 |
|
|
87
|
+
|
|
88
|
+
**Domain judgment for indicator choice**:
|
|
89
|
+
- **Cortical pyramidal neurons** (typical firing rate 0.1-10 Hz): GCaMP6f, jGCaMP7f, or jGCaMP8f are all suitable
|
|
90
|
+
- **Fast-spiking interneurons** (10-100 Hz): jGCaMP8m preferred; GCaMP6s will severely underestimate activity due to saturation
|
|
91
|
+
- **Cerebellar Purkinje cells** (simple spikes ~50-100 Hz): Standard GECIs cannot resolve individual simple spikes; complex spikes (~1 Hz) are resolvable with GCaMP6f or faster
|
|
92
|
+
- **Hippocampal place cells** (burst firing, 5-20 Hz within field): jGCaMP7f or jGCaMP8f recommended
|
|
93
|
+
- **Dopamine neurons** (tonic ~5 Hz, burst ~20 Hz): jGCaMP8f for distinguishing burst from tonic
|
|
94
|
+
- **Dendrites and spines** (local calcium signals): GCaMP6s or jGCaMP7s preferred for maximum sensitivity at low amplitudes
|
|
95
|
+
|
|
96
|
+
### Saturation Effects
|
|
97
|
+
|
|
98
|
+
All GECIs have a finite dynamic range (F_max / F_min) that causes fluorescence to saturate at high calcium concentrations.
|
|
99
|
+
|
|
100
|
+
| Indicator | Dynamic Range (F_max/F_min) | Approximate Saturation Onset | Source |
|
|
101
|
+
|-----------|----------------------------|------------------------------|--------|
|
|
102
|
+
| GCaMP6s | ~63 | ~10-20 spikes in burst | Chen et al., 2013 |
|
|
103
|
+
| GCaMP6f | ~52 | ~20-30 spikes in burst | Chen et al., 2013 |
|
|
104
|
+
| jGCaMP7f | ~40 | ~15-25 spikes in burst | Dana et al., 2019 |
|
|
105
|
+
| jGCaMP8f | ~83 | ~30+ spikes in burst | Zhang et al., 2023 |
|
|
106
|
+
|
|
107
|
+
**Implication for analysis**: When fluorescence approaches saturation, the relationship between firing rate and dF/F becomes sublinear. Deconvolution algorithms that assume a linear model will underestimate spike counts during high-frequency bursts. This is a fundamental biophysical limit, not an algorithmic failure.
|
|
108
|
+
|
|
109
|
+
## Red Calcium Indicators
|
|
110
|
+
|
|
111
|
+
For experiments requiring a second color channel (e.g., dual-population imaging or co-expression with green optogenetic actuators):
|
|
112
|
+
|
|
113
|
+
| Indicator | Half-Decay (ms) | dF/F per 1 AP (%) | Excitation (nm) | Emission (nm) | Source |
|
|
114
|
+
|-----------|-----------------|--------------------|-----------------|--------------------|--------|
|
|
115
|
+
| jRGECO1a | ~350 | ~12 | 560 | 590 | Dana et al., 2016 |
|
|
116
|
+
| jRCaMP1a | ~500 | ~5 | 560 | 590 | Dana et al., 2016 |
|
|
117
|
+
| jRCaMP1b | ~350 | ~8 | 560 | 590 | Dana et al., 2016 |
|
|
118
|
+
|
|
119
|
+
**Warning**: Red indicators are generally dimmer and less sensitive than green GCaMPs. Analysis requires adjusted SNR thresholds and more conservative deconvolution.
|
|
120
|
+
|
|
121
|
+
## Expression Systems
|
|
122
|
+
|
|
123
|
+
### AAV Serotype Selection
|
|
124
|
+
|
|
125
|
+
The choice of AAV serotype determines which cell types and brain regions are effectively transduced.
|
|
126
|
+
|
|
127
|
+
| Serotype | Brain Tropism | Cell Preference | Notes | Source |
|
|
128
|
+
|----------|---------------|-----------------|-------|--------|
|
|
129
|
+
| AAV1 | Broad, cortex-preferred | Neurons (strong) | High transduction efficiency; first approved for gene therapy | Aschauer et al., 2013 |
|
|
130
|
+
| AAV2 | Moderate, localized | Neurons | Smaller spread from injection site; retrograde with AAV2-retro | Aschauer et al., 2013 |
|
|
131
|
+
| AAV5 | Broad | Astrocytes preferred, also neurons | Best for glial targeting | Aschauer et al., 2013 |
|
|
132
|
+
| AAV8 | Broad | Neurons and astrocytes | Good for deep structures | Aschauer et al., 2013 |
|
|
133
|
+
| AAV9 | Very broad, crosses BBB | Neurons, some glia | Can be delivered IV in neonates | Aschauer et al., 2013 |
|
|
134
|
+
| PHP.eB | CNS-wide (IV delivery) | Neurons (strong) | Engineered for systemic delivery in mice; tropism is strain-dependent (C57BL/6 best) | Chan et al., 2017 |
|
|
135
|
+
| AAV2-retro | Retrograde from terminals | Projection neurons | Inject at projection target to label cell bodies in source region | Tervo et al., 2016 |
|
|
136
|
+
|
|
137
|
+
**Critical notes**:
|
|
138
|
+
- Tropism varies between species and even mouse strains. PHP.eB works well in C57BL/6 but poorly in BALB/c mice (Hordeaux et al., 2018).
|
|
139
|
+
- Always validate expression pattern in your specific preparation before running experiments.
|
|
140
|
+
- Higher viral titers produce brighter expression but risk cytotoxicity and nuclear GCaMP accumulation (overexpression toxicity; see below).
|
|
141
|
+
|
|
142
|
+
### Promoter Selection
|
|
143
|
+
|
|
144
|
+
| Promoter | Expression Pattern | Strength | Use Case | Source |
|
|
145
|
+
|----------|-------------------|----------|----------|--------|
|
|
146
|
+
| CaMKIIa | Excitatory neurons | Moderate | Standard for cortical/hippocampal pyramidal cells | Dittgen et al., 2004 |
|
|
147
|
+
| Synapsin (hSyn) | Pan-neuronal | Strong | All neurons; most common for calcium imaging | Kugler et al., 2003 |
|
|
148
|
+
| CAG | Ubiquitous | Very strong | Maximum brightness; includes glia with non-neuronal AAVs | Niwa et al., 1991 |
|
|
149
|
+
| EF1a | Ubiquitous | Strong | Common alternative to CAG | Kim et al., 1990 |
|
|
150
|
+
| mDlx | GABAergic interneurons | Moderate | Inhibitory neuron-specific imaging | Dimidschstein et al., 2016 |
|
|
151
|
+
| GFAP | Astrocytes | Moderate | Astrocyte calcium imaging | Lee et al., 2008 |
|
|
152
|
+
|
|
153
|
+
### Cre-Dependent Expression Strategies
|
|
154
|
+
|
|
155
|
+
For cell-type-specific expression, Cre-dependent constructs are used in Cre driver lines:
|
|
156
|
+
|
|
157
|
+
- **DIO (Double-floxed Inverted Open reading frame)**: Inverted GCaMP is flipped into sense orientation only in Cre-expressing cells
|
|
158
|
+
- **FLEX**: Similar double-floxed strategy; most common
|
|
159
|
+
- **Advantage**: Sparse, cell-type-specific labeling reduces neuropil contamination and simplifies ROI detection
|
|
160
|
+
- **Disadvantage**: Expression level depends on Cre driver line activity and AAV titer
|
|
161
|
+
|
|
162
|
+
### Transgenic Mouse Lines
|
|
163
|
+
|
|
164
|
+
| Line | Indicator | Expression | Notes | Source |
|
|
165
|
+
|------|-----------|------------|-------|--------|
|
|
166
|
+
| Ai93 (TITL-GCaMP6f) | GCaMP6f | Cre-dependent, tTA-dependent | Requires both Cre and tTA drivers; widely used in Allen Brain Observatory | Madisen et al., 2015 |
|
|
167
|
+
| Ai94 (TITL-GCaMP6s) | GCaMP6s | Cre-dependent, tTA-dependent | Slower but more sensitive than Ai93 | Madisen et al., 2015 |
|
|
168
|
+
| Ai148 (TIT2L-GC6f-ICL-tTA2) | GCaMP6f | Cre-dependent, self-amplifying | Brighter than Ai93; standard for Allen Institute | Daigle et al., 2018 |
|
|
169
|
+
| Thy1-GCaMP6 | GCaMP6s/f | Sparse, layer 5 pyramidal | No Cre required; variable expression across founders | Dana et al., 2014 |
|
|
170
|
+
| CaMPARI | Photoconvertible | Activity-dependent, all-optical | Converts green-to-red upon simultaneous calcium and UV light | Fosque et al., 2015 |
|
|
171
|
+
|
|
172
|
+
**Domain judgment on expression method**:
|
|
173
|
+
- Viral expression (AAV) takes 2-4 weeks to reach stable levels. Imaging too early produces dim signals; too late risks overexpression toxicity.
|
|
174
|
+
- Transgenic lines provide more uniform expression but may have lower signal amplitude than high-titer AAV.
|
|
175
|
+
- Overexpression toxicity: chronically high GCaMP levels can cause nuclear filling (GCaMP enters the nucleus), altered calcium buffering, and abnormal neural activity. Signs include: bright fluorescence with no transients, nuclear fluorescence visible, and abnormally high baseline fluorescence (Chen et al., 2013; Daigle et al., 2018).
|
|
176
|
+
|
|
177
|
+
## Indicator-Specific Analysis Implications
|
|
178
|
+
|
|
179
|
+
### GCaMP6s
|
|
180
|
+
- **Deconvolution**: Tau = 1.0-1.5 s. Deconvolution strongly recommended because raw traces are very slow.
|
|
181
|
+
- **Baseline window**: Use longer sliding window (60-90 s) because transients are prolonged and a short window tracks them.
|
|
182
|
+
- **Neuropil correction**: Standard r = 0.7 works well. High sensitivity means transients are usually distinguishable from neuropil.
|
|
183
|
+
- **Spike inference quality**: Good for low-rate neurons (< 3 Hz). Above ~5 Hz, individual spikes merge into plateau.
|
|
184
|
+
|
|
185
|
+
### GCaMP6f
|
|
186
|
+
- **Deconvolution**: Tau = 0.3-0.4 s. Most common choice for general-purpose 2P.
|
|
187
|
+
- **Baseline window**: 30-60 s sliding window is appropriate.
|
|
188
|
+
- **Neuropil correction**: Standard r = 0.7. Lower SNR per spike than GCaMP6s means neuropil correction is more critical.
|
|
189
|
+
- **Spike inference quality**: Resolves spikes up to ~10 Hz. Standard workhorse indicator.
|
|
190
|
+
|
|
191
|
+
### jGCaMP7f
|
|
192
|
+
- **Deconvolution**: Tau = 0.3-0.4 s (similar to GCaMP6f decay but higher amplitude).
|
|
193
|
+
- **Baseline window**: 30-60 s.
|
|
194
|
+
- **Neuropil correction**: Brighter than GCaMP6f; over-subtraction risk is higher. Consider starting with r = 0.6 and adjusting.
|
|
195
|
+
- **Spike inference quality**: Better single-spike detection than GCaMP6f due to higher dF/F.
|
|
196
|
+
|
|
197
|
+
### jGCaMP8f
|
|
198
|
+
- **Deconvolution**: Tau = 0.2-0.3 s. Fastest widely available indicator.
|
|
199
|
+
- **Baseline window**: 20-40 s may be sufficient due to faster kinetics.
|
|
200
|
+
- **Neuropil correction**: Very bright; monitor for over-subtraction artifacts.
|
|
201
|
+
- **Spike inference quality**: Best temporal resolution in the family. Can resolve bursts up to ~20 Hz.
|
|
202
|
+
- **Note**: Ground truth data for jGCaMP8 deconvolution is still being accumulated (as of 2025). CASCADE has begun incorporating jGCaMP8 ground truth (Rupprecht et al., 2025 preprint).
|
|
203
|
+
|
|
204
|
+
### jGCaMP8m
|
|
205
|
+
- **Deconvolution**: Tau = 0.14-0.2 s. The fastest variant.
|
|
206
|
+
- **Frame rate requirement**: Benefits from higher frame rates (> 20 Hz) to capture fast dynamics.
|
|
207
|
+
- **Best for**: Fast-spiking interneurons, cerebellar granule cells, any application where temporal precision matters most.
|
|
208
|
+
|
|
209
|
+
### jGCaMP8s
|
|
210
|
+
- **Deconvolution**: Tau = 0.2-0.3 s.
|
|
211
|
+
- **Analysis advantage**: Combines good sensitivity with improved kinetics over GCaMP6s.
|
|
212
|
+
- **Best for**: Replacing GCaMP6s in experiments where both sensitivity and speed matter.
|
|
213
|
+
|
|
214
|
+
## Wavelength and Optical Parameters
|
|
215
|
+
|
|
216
|
+
| Parameter | Green GCaMP | Red jRGECO1a | Source |
|
|
217
|
+
|-----------|-------------|--------------|--------|
|
|
218
|
+
| Excitation peak (1P) | 488 nm | 560 nm | Manufacturer data |
|
|
219
|
+
| Excitation peak (2P) | 920-940 nm | 1000-1040 nm | Dana et al., 2016 |
|
|
220
|
+
| Isosbestic point | 405-415 nm | ~530 nm | Lerner et al., 2015 |
|
|
221
|
+
| Emission peak | 510 nm | 590 nm | Manufacturer data |
|
|
222
|
+
| Emission filter | 500-550 nm BP | 570-640 nm BP | Common configurations |
|
|
223
|
+
|
|
224
|
+
## References
|
|
225
|
+
|
|
226
|
+
- Aschauer, D. F., et al. (2013). Analysis of transduction efficiency, tropism and axonal transport of AAV serotypes 1, 2, 5, 6, 8 and 9 in the mouse brain. *PLoS ONE*, 8(9), e76310.
|
|
227
|
+
- Chan, K. Y., et al. (2017). Engineered AAVs for efficient noninvasive gene delivery to the central and peripheral nervous systems. *Nature Neuroscience*, 20(8), 1172-1179.
|
|
228
|
+
- Chen, T. W., et al. (2013). Ultrasensitive fluorescent proteins for imaging neuronal activity. *Nature*, 499, 295-300.
|
|
229
|
+
- Chen, X., et al. (2020). Soma-targeted imaging of neural circuits by ribosome tethering. *Neuron*, 107(3), 454-469.
|
|
230
|
+
- Daigle, T. L., et al. (2018). A suite of transgenic driver and reporter mouse lines with enhanced brain-cell-type targeting and functionality. *Cell*, 174(2), 465-480.
|
|
231
|
+
- Dana, H., et al. (2014). Thy1-GCaMP6 transgenic mice for neuronal population imaging in vivo. *PLoS ONE*, 9(9), e108697.
|
|
232
|
+
- Dana, H., et al. (2016). Sensitive red protein calcium indicators for imaging neural activity. *eLife*, 5, e12727.
|
|
233
|
+
- Dana, H., et al. (2019). High-performance calcium sensors for imaging activity in neuronal populations and microcompartments. *Nature Methods*, 16, 649-657.
|
|
234
|
+
- Dimidschstein, J., et al. (2016). A viral strategy for targeting and manipulating interneurons across vertebrate species. *Nature Neuroscience*, 19(12), 1743-1749.
|
|
235
|
+
- Dittgen, T., et al. (2004). Lentivirus-based genetic manipulations of cortical neurons and their optical and electrophysiological monitoring in vivo. *Proceedings of the National Academy of Sciences*, 101(52), 18206-18211.
|
|
236
|
+
- Fosque, B. F., et al. (2015). Neural circuits. Labeling of active neural circuits in vivo with designed calcium integrators. *Science*, 347(6223), 755-760.
|
|
237
|
+
- Hordeaux, J., et al. (2018). The neurotropic properties of AAV-PHP.B are limited to C57BL/6J mice. *Molecular Therapy*, 26(3), 664-668.
|
|
238
|
+
- Kugler, S., et al. (2003). Human synapsin 1 gene promoter confers highly neuron-specific long-term transgene expression from an adenoviral vector in the adult rat brain. *Gene Therapy*, 10(4), 337-347.
|
|
239
|
+
- Madisen, L., et al. (2015). Transgenic mice for intersectional targeting of neural sensors and effectors with high specificity and performance. *Neuron*, 85(5), 942-958.
|
|
240
|
+
- Rupprecht, P., et al. (2021). A database and deep learning toolbox for noise-optimized, generalized spike inference from calcium imaging. *Nature Neuroscience*, 24, 1324-1337.
|
|
241
|
+
- Tervo, D. G. R., et al. (2016). A designer AAV variant permits efficient retrograde access to projection neurons. *Neuron*, 92(2), 372-382.
|
|
242
|
+
- Zhang, Y., et al. (2023). Fast and sensitive GCaMP calcium indicators for imaging neural populations. *Nature*, 615, 884-891.
|