neurokit2

Extract, clean, and analyze physiological biosignals into cardiovascular and neural features.

Updated May 24, 2026
One-click install
npx skills add https://github.com/Estrella-231/Mathematical_modeling_tongmeng --skill neurokit2-estrella-231
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neurokit2
Source: https://github.com/Estrella-231/Mathematical_modeling_tongmeng/tree/main/.agents/skills/neurokit2
Command: npx skills add https://github.com/Estrella-231/Mathematical_modeling_tongmeng --skill neurokit2-estrella-231

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

NeuroKit2 helps you transform raw biosignals into cleaned signals and actionable physiological metrics, so you can move from messy data to interpretable results quickly.

Core Features & Use Cases

  • Comprehensive biosignal processing: clean, detect events (e.g., ECG R-peaks, EDA SCRs), and compute core features across ECG/PPG, EEG, EDA, RSP, EMG, and EOG.
  • Heart-brain and multi-modal analysis: run unified processing for multiple synchronized signals and compute cross-signal metrics such as RSA (ECG + respiratory).
  • Complexity and nonlinear dynamics: compute entropy, fractal dimensions, and nonlinear indices for HRV/EEG characterization and state assessment.
  • Use Case: analyze a short experimental recording with ECG and respiration, extract HRV and RSA, and summarize the physiological response using a consistent pipeline.

Quick Start

Use the neurokit2 skill to process your ECG time series and return cleaned signals plus HRV and cardiac event outputs.

Frequently Asked Questions about neurokit2

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

FAQPage Schema
How do I compute HRV and RSA from synchronized ECG and respiratory signals?

To compute HRV and RSA from ECG and respiratory signals, you need a multi-modal integration pipeline that detects ECG R-peaks and respiratory phases to derive cross-signal metrics like respiratory sinus arrhythmia.

What is the best way to extract tonic-phasic components and skin conductance responses from EDA data?

Extracting tonic-phasic components and SCRs from EDA data requires a signal processing pipeline that cleans the raw electrodermal activity and applies event detection to separate slow-changing tonic baseline from rapid phasic skin conductance responses.

Can I compute EEG microstates and nonlinear complexity indices using Python?

Computing EEG microstates and nonlinear complexity indices in Python involves applying entropy and fractal dimension algorithms to cleaned neural signals to characterize brain state dynamics and signal complexity.

Do I need specific sampling rates to detect ECG R-peaks and EOG blink events accurately?

Accurate ECG R-peak and EOG blink detection requires appropriate sampling rates configured within the signal processing pipeline to ensure temporal resolution is sufficient for precise event and peak identification.

How does biosignal processing handle multi-modal integration for cardiovascular and neural features?

Multi-modal integration for cardiovascular and neural features works by running unified processing across synchronized biosignal streams to compute interpretable cross-signal physiological metrics such as RSA from combined ECG and respiration data.

What are the limitations of computing respiratory peak and phase metrics from experimental recordings?

Computing respiratory peak and phase metrics from experimental recordings is limited by signal noise, artifact presence, and the need for precise event detection, requiring cleaned signals and appropriate sampling rates to yield valid epoch-related results.