neuropixels-analysis

Analyze Neuropixels recordings from raw data to curated units.

94|11|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/swaruplab/operon --skill neuropixels-analysis-swaruplab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neuropixels-analysis
Source: https://github.com/swaruplab/operon/tree/main/src-tauri/protocols/neuropixels-analysis
Command: npx skills add https://github.com/swaruplab/operon --skill neuropixels-analysis-swaruplab

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Neuropixels data analysis is complex and time-consuming, requiring multiple steps from raw data to curated units; this skill provides an end-to-end framework to streamline preprocessing, sorting, quality control, and curation.

Core Features & Use Cases

  • End-to-end Neuropixels workflow: load raw data, preprocess, motion-correct, sort spikes, compute quality metrics, and curate units.
  • AI-assisted curation: integrate AI-powered visual analysis to assist labeling and decision-making on unit quality.
  • Export and reporting: generate Phy exports and comprehensive quality reports for publication or review.

Quick Start

Run the Neuropixels analysis pipeline by selecting a data path and following the included scripts to preprocess, sort, analyze quality, and export results.

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 for Neuropixels recordings?

End-to-end spike sorting for Neuropixels recordings involves preprocessing raw data, applying motion correction, running GPU-accelerated Kilosort4, and exporting results to Phy. This skill provides scripts to automate this workflow from data loading to curated units for both NP 1.0 and 2.0 probes.

What is AI-assisted unit curation in spike sorting?

AI-assisted unit curation uses AI-powered visual analysis to help label and evaluate spike sorting output quality. It integrates with quality metrics to streamline decision-making on unit reliability and exports curated labels alongside comprehensive quality reports.

Does Neuropixels analysis support both NP 1.0 and NP 2.0 probes?

Neuropixels analysis supports both NP 1.0 and NP 2.0 probes for preprocessing, motion correction, and spike sorting. The workflow applies consistently across probe versions to generate analyzers and compute quality metrics.

Do I need a GPU to run Kilosort4 for spike sorting?

You need a GPU to run Kilosort4 for spike sorting within this workflow. The pipeline requires GPU acceleration for Kilosort4 alongside SpikeInterface, pandas, matplotlib, numpy, and scipy to process raw data into curated units.

How do I compute quality metrics after spike sorting with SpikeInterface?

Computing quality metrics after spike sorting with SpikeInterface is handled by postprocessing scripts that generate analyzers and comprehensive reports. The workflow calculates these metrics automatically before integrating AI-assisted curation and exporting results to Phy.

What's the best way to export spike sorting results for publication review?

The best way to export spike sorting results for publication review is generating Phy exports and comprehensive quality reports. This workflow produces curated labels and analyzers directly from the processed Neuropixels data to facilitate review.