neurokit2

Process and analyze ECG, EEG, EDA, RSP, PPG, EMG, and EOG biosignals in Python.

4|1|Updated Jun 18, 2025
One-click install
npx skills add https://github.com/HolobiomicsLab/Toolomics --skill neurokit2-holobiomicslab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: neurokit2
Source: https://github.com/HolobiomicsLab/Toolomics/tree/main/mcp_host/skills/scientific-skills/scientific-skills/neurokit2
Command: npx skills add https://github.com/HolobiomicsLab/Toolomics --skill neurokit2-holobiomicslab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

NeuroKit2 provides a unified Python toolkit to process, analyze, and visualize a wide range of biosignals (ECG, EEG, EDA, RSP, PPG, EMG, EOG) with minimal boilerplate, enabling reproducible neuroscience and physiology workflows.

Core Features & Use Cases

  • Comprehensive signal processing pipelines (ecg_process, rsp_process, eda_process, eeg_power, etc.)
  • Multi-signal integration and event-related analysis (bio_process, epochs_create, epochs_average)
  • EEG microstate and source localization tooling; HRV, RSA, and multi-modal analyses
  • Real-world scenario: compute HRV metrics from ECG, EDA arousal markers, respiration variability, and EEG power changes to study stress responses.

Quick Start

Install NeuroKit2, import nk, load your data, and run nk.ecg_process with a suitable sampling_rate to start.

Frequently Asked Questions about neurokit2

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

FAQPage Schema
How do I process ECG and EEG biosignals in Python for reproducible neuroscience research?▼

Biosignal processing in Python for reproducible neuroscience research is automated via modular pipelines like ecg_process and eeg_power, which handle ECG and EEG data cleaning, feature extraction, and visualization with minimal boilerplate.

Can I compute HRV and RSA metrics from ECG data alongside respiration variability?▼

HRV and RSA metrics from ECG data alongside respiration variability are computed using integrated multi-signal pipelines, enabling cross-signal analysis to study psychophysiology markers like stress responses across ECG, RSP, and EDA data.

What's the best way to run event-related biosignal analysis across multiple signal types?▼

Event-related biosignal analysis across multiple signal types is handled by creating epochs with epochs_create and averaging them with epochs_average, allowing synchronized extraction of EDA arousal markers and EEG power changes around specific experimental events.

Does this biosignal analysis toolkit support EDA, PPG, EMG, and EOG data processing?▼

This biosignal analysis toolkit supports EDA, PPG, EMG, and EOG data processing through dedicated modular pipelines such as eda_process and the comprehensive bio_process function, covering the full spectrum of physiological and neurological signals.

Are there limitations when applying EEG microstate and source localization tooling to clinical monitoring data?▼

EEG microstate and source localization tooling applied to clinical monitoring data requires appropriate sampling rates and clean epochs; while comprehensive, users must validate signal quality and parameters to ensure accurate neurological feature extraction and interpretation.