neuropixels-analysis

Automate Neuropixels preprocessing, spike sorting, and curation with SpikeInterface.

22|4|Updated May 25, 2026
One-click install
npx skills add https://github.com/crazymsn/academic-skills --skill neuropixels-analysis-crazymsn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neuropixels-analysis
Source: https://github.com/crazymsn/academic-skills/tree/main/academic-skills/neuropixels-analysis
Command: npx skills add https://github.com/crazymsn/academic-skills --skill neuropixels-analysis-crazymsn

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Neuropixels data analysis is often time-consuming and inconsistent across labs. This Skill provides an end-to-end framework to process raw recordings into curated units, enabling reproducible workflows and faster insight.

Core Features & Use Cases

  • End-to-end pipeline including preprocessing, motion correction, spike sorting, post-processing, quality metrics, and curation for Neuropixels 1.0/2.0 data.
  • Supports multiple sorters (Kilosort4, SpykingCircus, Mountainsort5) and post-processing through SpikeInterface, with export options to Phy and NWB.
  • AI-assisted curation workflows and rich visualization for rapid, informed decisions in unit quality assessment.

Quick Start

Run the Neuropixels analysis pipeline on your recording from preprocessing to curated 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 end-to-end spike sorting and drift correction for Neuropixels data?

To run end-to-end spike sorting and drift correction for Neuropixels data, use this Skill to automate preprocessing, motion correction, sorting, and curation into a single reproducible workflow. It processes raw Neuropixels 1.0 and 2.0 recordings directly into curated units.

Can I use Kilosort4 or Mountainsort5 for Neuropixels spike sorting within SpikeInterface?

Yes, you can use Kilosort4, SpykingCircus, or Mountainsort5 for Neuropixels spike sorting. The Skill integrates these sorter backends with SpikeInterface to execute post-processing and generate quality metrics for your recordings.

What is AI-assisted curation in spike sorting and how does it evaluate unit quality?

AI-assisted curation in spike sorting uses automated algorithms alongside rich visualizations to evaluate unit quality metrics. This approach helps you rapidly identify and filter well-separated units from noisy clusters, enabling faster and more informed curation decisions.

How do I export curated spike sorting results to NWB or Phy format?

To export curated spike sorting results to NWB or Phy, use the built-in export options provided by the SpikeInterface framework. The Skill processes raw recordings through post-processing and quality metrics, supporting direct export to both formats for downstream visualization.

Does this Neuropixels analysis pipeline support both 1.0 and 2.0 probe layouts?

Yes, the Neuropixels analysis pipeline supports both 1.0 and 2.0 probe layouts. It leverages ProbeInterface to handle the specific contact geometry and channel mappings required for accurate spike sorting and drift correction across both probe versions.