neuropixels-analysis

Process Neuropixels datasets through preprocessing, drift correction, spike sorting, and curation.

48|6|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/qinyan-ai/qinyan-academic-skills --skill neuropixels-analysis-qinyan-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neuropixels-analysis
Source: https://github.com/qinyan-ai/qinyan-academic-skills/tree/main/skills/07-%E4%B8%B4%E5%BA%8A%E5%8C%BB%E5%AD%A6%E4%B8%8E%E7%B2%BE%E5%87%86%E5%8C%BB%E7%96%97/neuropixels-analysis
Command: npx skills add https://github.com/qinyan-ai/qinyan-academic-skills --skill neuropixels-analysis-qinyan-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires spikeinterface, pandas, matplotlib, numpy, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Neuropixels data analysis pipeline that streamlines loading, preprocessing, drift correction, spike sorting, quality metrics, and AI-assisted curation to produce publication-ready results.

Core Features & Use Cases

  • End-to-end workflow: load raw Neuropixels data, preprocess, correct drift, run spike sorting (Kilosort4 and alternatives), compute quality metrics, curate units, and export results.
  • AI-assisted curation: integrate AI-driven visual analysis to assist unit classification and merge decisions with human oversight.
  • Extensible architecture: modular components (scripts for preprocessing/sorting/postprocessing/reports) and references/assets with tutorials and guides for reproducibility.

Quick Start

Run the Neuropixels pipeline on your data to load, preprocess, sort, and curate units.

Frequently Asked Questions about neuropixels-analysis

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

FAQPage Schema
How do I run an end-to-end spike sorting pipeline for Neuropixels data?

You can run an end-to-end spike sorting pipeline by loading raw Neuropixels data to preprocess, apply drift correction, execute sorting, compute quality metrics, and export curated units. The workflow uses SpikeInterface and Python libraries like numpy and pandas.

What is drift correction in Neuropixels neural data analysis?

Drift correction in neural data analysis is a preprocessing step that mitigates probe movement artifacts over time. It stabilizes spike locations before sorting, improving the accuracy of subsequent unit separation and quality metric calculations.

Does this spike sorting workflow support Kilosort4 alternatives?

Yes, the workflow supports spike sorting execution using Kilosort4 and alternative sorters. It integrates with SpikeInterface to run modular sorting stages, allowing you to compare outputs and select the best sorter for your dataset.

How does AI-assisted curation work for spike sorting outputs?

AI-assisted curation integrates AI-driven visual analysis to classify units and inform merge decisions. It assists researchers in filtering noise and refining sorted units, maintaining human oversight throughout the quality metrics evaluation process.

Can I use SpikeInterface with Neuropixels 2.0 data in Python?

Yes, this pipeline is designed for neuroscience researchers working with Neuropixels 1.0 and 2.0 data. It leverages SpikeInterface alongside pandas and matplotlib to load, preprocess, and analyze raw recordings within a Python environment.

What are the limitations of AI-assisted curation in spike sorting?

AI-assisted curation requires human oversight to validate merge decisions and unit classifications. It serves as a visual analysis aid rather than a fully automated replacement, meaning researchers must manually review quality metrics to ensure accurate curation.