neuropixels-analysis

Analyze Neuropixels recordings from raw data to curated spike units.

74|5|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/dralkh/seerai --skill neuropixels-analysis-dralkh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neuropixels-analysis
Source: https://github.com/dralkh/seerai/tree/main/skills/neuropixels-analysis
Command: npx skills add https://github.com/dralkh/seerai --skill neuropixels-analysis-dralkh

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill removes the complexity of analyzing Neuropixels extracellular recordings by guiding you from raw acquisition files to curated, publication-ready units.

Core Features & Use Cases

  • End-to-end preprocessing: Load SpikeGLX, Open Ephys, or NWB recordings, filter, reference, detect bad channels, and prepare data for sorting.
  • Drift-aware spike sorting: Check motion, apply correction when needed, and run sorters such as Kilosort4 or CPU-based alternatives.
  • Quality control and curation: Compute quality metrics, apply threshold-based rules, use model-based UnitRefine labels, and support AI-assisted review for uncertain units.
  • Export and reporting: Produce Phy exports, NWB files, summary reports, and reusable analysis templates for reproducible workflows.

Quick Start

Ask the skill to analyze a Neuropixels recording from raw data through curated units, including preprocessing, motion correction, spike sorting, quality metrics, curation, and export.

Frequently Asked Questions about neuropixels-analysis

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

FAQPage Schema
How do I run spike sorting on Neuropixels recordings from SpikeGLX or Open Ephys files?

To run spike sorting on Neuropixels recordings, load SpikeGLX, Open Ephys, or NWB files, apply preprocessing and motion correction, then execute sorters like Kilosort4 or CPU alternatives to extract units.

What is the best way to apply motion correction and drift correction in SpikeInterface?

Motion correction in SpikeInterface involves checking for drift in the raw extracellular data and applying correction algorithms before spike sorting to ensure accurate unit detection across the recording duration.

How do I compute quality metrics and curate spike units after sorting?

Compute quality metrics on sorted units, then apply threshold-based rules, model-based UnitRefine labels, or AI-assisted review to curate the final spike units for publication-ready results.

Can I export curated Neuropixels spike units to NWB and Phy formats?

Yes, you can export curated Neuropixels spike units to NWB files and Phy formats, generating summary reports and reusable analysis templates for fully reproducible extracellular electrophysiology workflows.

Do I need Kilosort4 to run spike sorting, or are there CPU alternatives?

You do not strictly need Kilosort4; the workflow supports sorter backends such as Kilosort4 or CPU-based alternatives, allowing spike sorting on systems without GPU acceleration.