[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6M05YN6DR684JPX2G1YYBYF":3,"skill-same:01M6M05YN6DR684JPX2G1YYBYF":117},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":13,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":66},"01M6M05YN6DR684JPX2G1YYBYF","neurokit2",null,"Comprehensive biosignal processing toolkit for analyzing physiological data including ECG, EEG, EDA, RSP, PPG, EMG, and EOG signals. Use this skill when processing cardiovascular signals, brain activity, electrodermal responses, respiratory patterns, muscle activity, or eye movements. Applicable for heart rate variability analysis, event-related potentials, complexity measures, autonomic nervous system assessment, psychophysiology research, and multi-modal physiological signal integration.","endman100\u002Fskill-router-nexus","endman100","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F31997019?v=4","01M6KPDX17BYDWW4RRB0TNGGMX","01M6KPDX64Y2QBEWVFG5W5PWPF",0,"MIT","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fclinical-and-medical\u002Fneurokit2\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"biosignal","when","signal","rate","for","activity","event","multi","processing","brain","signals","research","complexity","use","system","modal","analysis","analyzing","integration","toolkit","assessment","2026-11-10 10:12:30",false,"---\nname: neurokit2\ndescription: Comprehensive biosignal processing toolkit for analyzing physiological data including ECG, EEG, EDA, RSP, PPG, EMG, and EOG signals. Use this skill when processing cardiovascular signals, brain activity, electrodermal responses, respiratory patterns, muscle activity, or eye movements. Applicable for heart rate variability analysis, event-related potentials, complexity measures, autonomic nervous system assessment, psychophysiology research, and multi-modal physiological signal integration.\nlicense: MIT license\nmetadata:\n    skill-author: K-Dense Inc.\n---\n\n# NeuroKit2\n\n## Overview\n\nNeuroKit2 is a comprehensive Python toolkit for processing and analyzing physiological signals (biosignals). Use this skill to process cardiovascular, neural, autonomic, respiratory, and muscular signals for psychophysiology research, clinical applications, and human-computer interaction studies.\n\n## When to Use This Skill\n\nApply this skill when working with:\n- **Cardiac signals**: ECG, PPG, heart rate variability (HRV), pulse analysis\n- **Brain signals**: EEG frequency bands, microstates, complexity, source localization\n- **Autonomic signals**: Electrodermal activity (EDA\u002FGSR), skin conductance responses (SCR)\n- **Respiratory signals**: Breathing rate, respiratory variability (RRV), volume per time\n- **Muscular signals**: EMG amplitude, muscle activation detection\n- **Eye tracking**: EOG, blink detection and analysis\n- **Multi-modal integration**: Processing multiple physiological signals simultaneously\n- **Complexity analysis**: Entropy measures, fractal dimensions, nonlinear dynamics\n\n## Core Capabilities\n\n### 1. Cardiac Signal Processing (ECG\u002FPPG)\n\nProcess electrocardiogram and photoplethysmography signals for cardiovascular analysis. See `references\u002Fecg_cardiac.md` for detailed workflows.\n\n**Primary workflows:**\n- ECG processing pipeline: cleaning → R-peak detection → delineation → quality assessment\n- HRV analysis across time, frequency, and nonlinear domains\n- PPG pulse analysis and quality assessment\n- ECG-derived respiration extraction\n\n**Key functions:**\n```python\nimport neurokit2 as nk\n\n# Complete ECG processing pipeline\nsignals, info = nk.ecg_process(ecg_signal, sampling_rate=1000)\n\n# Analyze ECG data (event-related or interval-related)\nanalysis = nk.ecg_analyze(signals, sampling_rate=1000)\n\n# Comprehensive HRV analysis\nhrv = nk.hrv(peaks, sampling_rate=1000)  # Time, frequency, nonlinear domains\n```\n\n### 2. Heart Rate Variability Analysis\n\nCompute comprehensive HRV metrics from cardiac signals. See `references\u002Fhrv.md` for all indices and domain-specific analysis.\n\n**Supported domains:**\n- **Time domain**: SDNN, RMSSD, pNN50, SDSD, and derived metrics\n- **Frequency domain**: ULF, VLF, LF, HF, VHF power and ratios\n- **Nonlinear domain**: Poincaré plot (SD1\u002FSD2), entropy measures, fractal dimensions\n- **Specialized**: Respiratory sinus arrhythmia (RSA), recurrence quantification analysis (RQA)\n\n**Key functions:**\n```python\n# All HRV indices at once\nhrv_indices = nk.hrv(peaks, sampling_rate=1000)\n\n# Domain-specific analysis\nhrv_time = nk.hrv_time(peaks)\nhrv_freq = nk.hrv_frequency(peaks, sampling_rate=1000)\nhrv_nonlinear = nk.hrv_nonlinear(peaks, sampling_rate=1000)\nhrv_rsa = nk.hrv_rsa(peaks, rsp_signal, sampling_rate=1000)\n```\n\n### 3. Brain Signal Analysis (EEG)\n\nAnalyze electroencephalography signals for frequency power, complexity, and microstate patterns. See `references\u002Feeg.md` for detailed workflows and MNE integration.\n\n**Primary capabilities:**\n- Frequency band power analysis (Delta, Theta, Alpha, Beta, Gamma)\n- Channel quality assessment and re-referencing\n- Source localization (sLORETA, MNE)\n- Microstate segmentation and transition dynamics\n- Global field power and dissimilarity measures\n\n**Key functions:**\n```python\n# Power analysis across frequency bands\npower = nk.eeg_power(eeg_data, sampling_rate=250, channels=['Fz', 'Cz', 'Pz'])\n\n# Microstate analysis\nmicrostates = nk.microstates_segment(eeg_data, n_microstates=4, method='kmod')\nstatic = nk.microstates_static(microstates)\ndynamic = nk.microstates_dynamic(microstates)\n```\n\n### 4. Electrodermal Activity (EDA)\n\nProcess skin conductance signals for autonomic nervous system assessment. See `references\u002Feda.md` for detailed workflows.\n\n**Primary workflows:**\n- Signal decomposition into tonic and phasic components\n- Skin conductance response (SCR) detection and analysis\n- Sympathetic nervous system index calculation\n- Autocorrelation and changepoint detection\n\n**Key functions:**\n```python\n# Complete EDA processing\nsignals, info = nk.eda_process(eda_signal, sampling_rate=100)\n\n# Analyze EDA data\nanalysis = nk.eda_analyze(signals, sampling_rate=100)\n\n# Sympathetic nervous system activity\nsympathetic = nk.eda_sympathetic(signals, sampling_rate=100)\n```\n\n### 5. Respiratory Signal Processing (RSP)\n\nAnalyze breathing patterns and respiratory variability. See `references\u002Frsp.md` for detailed workflows.\n\n**Primary capabilities:**\n- Respiratory rate calculation and variability analysis\n- Breathing amplitude and symmetry assessment\n- Respiratory volume per time (fMRI applications)\n- Respiratory amplitude variability (RAV)\n\n**Key functions:**\n```python\n# Complete RSP processing\nsignals, info = nk.rsp_process(rsp_signal, sampling_rate=100)\n\n# Respiratory rate variability\nrrv = nk.rsp_rrv(signals, sampling_rate=100)\n\n# Respiratory volume per time\nrvt = nk.rsp_rvt(signals, sampling_rate=100)\n```\n\n### 6. Electromyography (EMG)\n\nProcess muscle activity signals for activation detection and amplitude analysis. See `references\u002Femg.md` for workflows.\n\n**Key functions:**\n```python\n# Complete EMG processing\nsignals, info = nk.emg_process(emg_signal, sampling_rate=1000)\n\n# Muscle activation detection\nactivation = nk.emg_activation(signals, sampling_rate=1000, method='threshold')\n```\n\n### 7. Electrooculography (EOG)\n\nAnalyze eye movement and blink patterns. See `references\u002Feog.md` for workflows.\n\n**Key functions:**\n```python\n# Complete EOG processing\nsignals, info = nk.eog_process(eog_signal, sampling_rate=500)\n\n# Extract blink features\nfeatures = nk.eog_features(signals, sampling_rate=500)\n```\n\n### 8. General Signal Processing\n\nApply filtering, decomposition, and transformation operations to any signal. See `references\u002Fsignal_processing.md` for comprehensive utilities.\n\n**Key operations:**\n- Filtering (lowpass, highpass, bandpass, bandstop)\n- Decomposition (EMD, SSA, wavelet)\n- Peak detection and correction\n- Power spectral density estimation\n- Signal interpolation and resampling\n- Autocorrelation and synchrony analysis\n\n**Key functions:**\n```python\n# Filtering\nfiltered = nk.signal_filter(signal, sampling_rate=1000, lowcut=0.5, highcut=40)\n\n# Peak detection\npeaks = nk.signal_findpeaks(signal)\n\n# Power spectral density\npsd = nk.signal_psd(signal, sampling_rate=1000)\n```\n\n### 9. Complexity and Entropy Analysis\n\nCompute nonlinear dynamics, fractal dimensions, and information-theoretic measures. See `references\u002Fcomplexity.md` for all available metrics.\n\n**Available measures:**\n- **Entropy**: Shannon, approximate, sample, permutation, spectral, fuzzy, multiscale\n- **Fractal dimensions**: Katz, Higuchi, Petrosian, Sevcik, correlation dimension\n- **Nonlinear dynamics**: Lyapunov exponents, Lempel-Ziv complexity, recurrence quantification\n- **DFA**: Detrended fluctuation analysis, multifractal DFA\n- **Information theory**: Fisher information, mutual information\n\n**Key functions:**\n```python\n# Multiple complexity metrics at once\ncomplexity_indices = nk.complexity(signal, sampling_rate=1000)\n\n# Specific measures\napen = nk.entropy_approximate(signal)\ndfa = nk.fractal_dfa(signal)\nlyap = nk.complexity_lyapunov(signal, sampling_rate=1000)\n```\n\n### 10. Event-Related Analysis\n\nCreate epochs around stimulus events and analyze physiological responses. See `references\u002Fepochs_events.md` for workflows.\n\n**Primary capabilities:**\n- Epoch creation from event markers\n- Event-related averaging and visualization\n- Baseline correction options\n- Grand average computation with confidence intervals\n\n**Key functions:**\n```python\n# Find events in signal\nevents = nk.events_find(trigger_signal, threshold=0.5)\n\n# Create epochs around events\nepochs = nk.epochs_create(signals, events, sampling_rate=1000,\n                          epochs_start=-0.5, epochs_end=2.0)\n\n# Average across epochs\ngrand_average = nk.epochs_average(epochs)\n```\n\n### 11. Multi-Signal Integration\n\nProcess multiple physiological signals simultaneously with unified output. See `references\u002Fbio_module.md` for integration workflows.\n\n**Key functions:**\n```python\n# Process multiple signals at once\nbio_signals, bio_info = nk.bio_process(\n    ecg=ecg_signal,\n    rsp=rsp_signal,\n    eda=eda_signal,\n    emg=emg_signal,\n    sampling_rate=1000\n)\n\n# Analyze all processed signals\nbio_analysis = nk.bio_analyze(bio_signals, sampling_rate=1000)\n```\n\n## Analysis Modes\n\nNeuroKit2 automatically selects between two analysis modes based on data duration:\n\n**Event-related analysis** (\u003C 10 seconds):\n- Analyzes stimulus-locked responses\n- Epoch-based segmentation\n- Suitable for experimental paradigms with discrete trials\n\n**Interval-related analysis** (≥ 10 seconds):\n- Characterizes physiological patterns over extended periods\n- Resting state or continuous activities\n- Suitable for baseline measurements and long-term monitoring\n\nMost `*_analyze()` functions automatically choose the appropriate mode.\n\n## Installation\n\n```bash\nuv pip install neurokit2\n```\n\nFor development version:\n```bash\nuv pip install https:\u002F\u002Fgithub.com\u002Fneuropsychology\u002FNeuroKit\u002Fzipball\u002Fdev\n```\n\n## Common Workflows\n\n### Quick Start: ECG Analysis\n```python\nimport neurokit2 as nk\n\n# Load example data\necg = nk.ecg_simulate(duration=60, sampling_rate=1000)\n\n# Process ECG\nsignals, info = nk.ecg_process(ecg, sampling_rate=1000)\n\n# Analyze HRV\nhrv = nk.hrv(info['ECG_R_Peaks'], sampling_rate=1000)\n\n# Visualize\nnk.ecg_plot(signals, info)\n```\n\n### Multi-Modal Analysis\n```python\n# Process multiple signals\nbio_signals, bio_info = nk.bio_process(\n    ecg=ecg_signal,\n    rsp=rsp_signal,\n    eda=eda_signal,\n    sampling_rate=1000\n)\n\n# Analyze all signals\nresults = nk.bio_analyze(bio_signals, sampling_rate=1000)\n```\n\n### Event-Related Potential\n```python\n# Find events\nevents = nk.events_find(trigger_channel, threshold=0.5)\n\n# Create epochs\nepochs = nk.epochs_create(processed_signals, events,\n                          sampling_rate=1000,\n                          epochs_start=-0.5, epochs_end=2.0)\n\n# Event-related analysis for each signal type\necg_epochs = nk.ecg_eventrelated(epochs)\neda_epochs = nk.eda_eventrelated(epochs)\n```\n\n## References\n\nThis skill includes comprehensive reference documentation organized by signal type and analysis method:\n\n- **ecg_cardiac.md**: ECG\u002FPPG processing, R-peak detection, delineation, quality assessment\n- **hrv.md**: Heart rate variability indices across all domains\n- **eeg.md**: EEG analysis, frequency bands, microstates, source localization\n- **eda.md**: Electrodermal activity processing and SCR analysis\n- **rsp.md**: Respiratory signal processing and variability\n- **ppg.md**: Photoplethysmography signal analysis\n- **emg.md**: Electromyography processing and activation detection\n- **eog.md**: Electrooculography and blink analysis\n- **signal_processing.md**: General signal utilities and transformations\n- **complexity.md**: Entropy, fractal, and nonlinear measures\n- **epochs_events.md**: Event-related analysis and epoch creation\n- **bio_module.md**: Multi-signal integration workflows\n\nLoad specific reference files as needed using the Read tool to access detailed function documentation and parameters.\n\n## Additional Resources\n\n- Official Documentation: https:\u002F\u002Fneuropsychology.github.io\u002FNeuroKit\u002F\n- GitHub Repository: https:\u002F\u002Fgithub.com\u002Fneuropsychology\u002FNeuroKit\n- Publication: Makowski et al. (2021). NeuroKit2: A Python toolbox for neurophysiological signal processing. Behavior Research Methods. https:\u002F\u002Fdoi.org\u002F10.3758\u002Fs13428-020-01516-y\n\n","# NeuroKit2\n\n## Overview\n\nNeuroKit2 is a comprehensive Python toolkit for processing and analyzing physiological signals (biosignals). Use this skill to process cardiovascular, neural, autonomic, respiratory, and muscular signals for psychophysiology research, clinical applications, and human-computer interaction studies.\n\n## When to Use This Skill\n\nApply this skill when working with:\n- **Cardiac signals**: ECG, PPG, heart rate variability (HRV), pulse analysis\n- **Brain signals**: EEG frequency bands, microstates, complexity, source localization\n- **Autonomic signals**: Electrodermal activity (EDA\u002FGSR), skin conductance responses (SCR)\n- **Respiratory signals**: Breathing rate, respiratory variability (RRV), volume per time\n- **Muscular signals**: EMG amplitude, muscle activation detection\n- **Eye tracking**: EOG, blink detection and analysis\n- **Multi-modal integration**: Processing multiple physiological signals simultaneously\n- **Complexity analysis**: Entropy measures, fractal dimensions, nonlinear dynamics\n\n## Core Capabilities\n\n### 1. Cardiac Signal Processing (ECG\u002FPPG)\n\nProcess electrocardiogram and photoplethysmography signals for cardiovascular analysis. See `references\u002Fecg_cardiac.md` for detailed workflows.\n\n**Primary workflows:**\n- ECG processing pipeline: cleaning → R-peak detection → delineation → quality assessment\n- HRV analysis across time, frequency, and nonlinear domains\n- PPG pulse analysis and quality assessment\n- ECG-derived respiration extraction\n\n**Key functions:**\n```python\nimport neurokit2 as nk\n\n# Complete ECG processing pipeline\nsignals, info = nk.ecg_process(ecg_signal, sampling_rate=1000)\n\n# Analyze ECG data (event-related or interval-related)\nanalysis = nk.ecg_analyze(signals, sampling_rate=1000)\n\n# Comprehensive HRV analysis\nhrv = nk.hrv(peaks, sampling_rate=1000)  # Time, frequency, nonlinear domains\n```\n\n### 2. Heart Rate Variability Analysis\n\nCompute comprehensive HRV metrics from cardiac signals. See `references\u002Fhrv.md` for all indices and domain-specific analysis.\n\n**Supported domains:**\n- **Time domain**: SDNN, RMSSD, pNN50, SDSD, and derived metrics\n- **Frequency domain**: ULF, VLF, LF, HF, VHF power and ratios\n- **Nonlinear domain**: Poincaré plot (SD1\u002FSD2), entropy measures, fractal dimensions\n- **Specialized**: Respiratory sinus arrhythmia (RSA), recurrence quantification analysis (RQA)\n\n**Key functions:**\n```python\n# All HRV indices at once\nhrv_indices = nk.hrv(peaks, sampling_rate=1000)\n\n# Domain-specific analysis\nhrv_time = nk.hrv_time(peaks)\nhrv_freq = nk.hrv_frequency(peaks, sampling_rate=1000)\nhrv_nonlinear = nk.hrv_nonlinear(peaks, sampling_rate=1000)\nhrv_rsa = nk.hrv_rsa(peaks, rsp_signal, sampling_rate=1000)\n```\n\n### 3. Brain Signal Analysis (EEG)\n\nAnalyze electroencephalography signals for frequency power, complexity, and microstate patterns. See `references\u002Feeg.md` for detailed workflows and MNE integration.\n\n**Primary capabilities:**\n- Frequency band power analysis (Delta, Theta, Alpha, Beta, Gamma)\n- Channel quality assessment and re-referencing\n- Source localization (sLORETA, MNE)\n- Microstate segmentation and transition dynamics\n- Global field power and dissimilarity measures\n\n**Key functions:**\n```python\n# Power analysis across frequency bands\npower = nk.eeg_power(eeg_data, sampling_rate=250, channels=['Fz', 'Cz', 'Pz'])\n\n# Microstate analysis\nmicrostates = nk.microstates_segment(eeg_data, n_microstates=4, method='kmod')\nstatic = nk.microstates_static(microstates)\ndynamic = nk.microstates_dynamic(microstates)\n```\n\n### 4. Electrodermal Activity (EDA)\n\nProcess skin conductance signals for autonomic nervous system assessment. See `references\u002Feda.md` for detailed workflows.\n\n**Primary workflows:**\n- Signal decomposition into tonic and phasic components\n- Skin conductance response (SCR) detection and analysis\n- Sympathetic nervous system index calculation\n- Autocorrelation and changepoint detection\n\n**Key functions:**\n```python\n# Complete EDA processing\nsignals, info = nk.eda_process(eda_signal, sampling_rate=100)\n\n# Analyze EDA data\nanalysis = nk.eda_analyze(signals, sampling_rate=100)\n\n# Sympathetic nervous system activity\nsympathetic = nk.eda_sympathetic(signals, sampling_rate=100)\n```\n\n### 5. Respiratory Signal Processing (RSP)\n\nAnalyze breathing patterns and respiratory variability. See `references\u002Frsp.md` for detailed workflows.\n\n**Primary capabilities:**\n- Respiratory rate calculation and variability analysis\n- Breathing amplitude and symmetry assessment\n- Respiratory volume per time (fMRI applications)\n- Respiratory amplitude variability (RAV)\n\n**Key functions:**\n```python\n# Complete RSP processing\nsignals, info = nk.rsp_process(rsp_signal, sampling_rate=100)\n\n# Respiratory rate variability\nrrv = nk.rsp_rrv(signals, sampling_rate=100)\n\n# Respiratory volume per time\nrvt = nk.rsp_rvt(signals, sampling_rate=100)\n```\n\n### 6. Electromyography (EMG)\n\nProcess muscle activity signals for activation detection and amplitude analysis. See `references\u002Femg.md` for workflows.\n\n**Key functions:**\n```python\n# Complete EMG processing\nsignals, info = nk.emg_process(emg_signal, sampling_rate=1000)\n\n# Muscle activation detection\nactivation = nk.emg_activation(signals, sampling_rate=1000, method='threshold')\n```\n\n### 7. Electrooculography (EOG)\n\nAnalyze eye movement and blink patterns. See `references\u002Feog.md` for workflows.\n\n**Key functions:**\n```python\n# Complete EOG processing\nsignals, info = nk.eog_process(eog_signal, sampling_rate=500)\n\n# Extract blink features\nfeatures = nk.eog_features(signals, sampling_rate=500)\n```\n\n### 8. General Signal Processing\n\nApply filtering, decomposition, and transformation operations to any signal. See `references\u002Fsignal_processing.md` for comprehensive utilities.\n\n**Key operations:**\n- Filtering (lowpass, highpass, bandpass, bandstop)\n- Decomposition (EMD, SSA, wavelet)\n- Peak detection and correction\n- Power spectral density estimation\n- Signal interpolation and resampling\n- Autocorrelation and synchrony analysis\n\n**Key functions:**\n```python\n# Filtering\nfiltered = nk.signal_filter(signal, sampling_rate=1000, lowcut=0.5, highcut=40)\n\n# Peak detection\npeaks = nk.signal_findpeaks(signal)\n\n# Power spectral density\npsd = nk.signal_psd(signal, sampling_rate=1000)\n```\n\n### 9. Complexity and Entropy Analysis\n\nCompute nonlinear dynamics, fractal dimensions, and information-theoretic measures. See `references\u002Fcomplexity.md` for all available metrics.\n\n**Available measures:**\n- **Entropy**: Shannon, approximate, sample, permutation, spectral, fuzzy, multiscale\n- **Fractal dimensions**: Katz, Higuchi, Petrosian, Sevcik, correlation dimension\n- **Nonlinear dynamics**: Lyapunov exponents, Lempel-Ziv complexity, recurrence quantification\n- **DFA**: Detrended fluctuation analysis, multifractal DFA\n- **Information theory**: Fisher information, mutual information\n\n**Key functions:**\n```python\n# Multiple complexity metrics at once\ncomplexity_indices = nk.complexity(signal, sampling_rate=1000)\n\n# Specific measures\napen = nk.entropy_approximate(signal)\ndfa = nk.fractal_dfa(signal)\nlyap = nk.complexity_lyapunov(signal, sampling_rate=1000)\n```\n\n### 10. Event-Related Analysis\n\nCreate epochs around stimulus events and analyze physiological responses. See `references\u002Fepochs_events.md` for workflows.\n\n**Primary capabilities:**\n- Epoch creation from event markers\n- Event-related averaging and visualization\n- Baseline correction options\n- Grand average computation with confidence intervals\n\n**Key functions:**\n```python\n# Find events in signal\nevents = nk.events_find(trigger_signal, threshold=0.5)\n\n# Create epochs around events\nepochs = nk.epochs_create(signals, events, sampling_rate=1000,\n                          epochs_start=-0.5, epochs_end=2.0)\n\n# Average across epochs\ngrand_average = nk.epochs_average(epochs)\n```\n\n### 11. Multi-Signal Integration\n\nProcess multiple physiological signals simultaneously with unified output. See `references\u002Fbio_module.md` for integration workflows.\n\n**Key functions:**\n```python\n# Process multiple signals at once\nbio_signals, bio_info = nk.bio_process(\n    ecg=ecg_signal,\n    rsp=rsp_signal,\n    eda=eda_signal,\n    emg=emg_signal,\n    sampling_rate=1000\n)\n\n# Analyze all processed signals\nbio_analysis = nk.bio_analyze(bio_signals, sampling_rate=1000)\n```\n\n## Analysis Modes\n\nNeuroKit2 automatically selects between two analysis modes based on data duration:\n\n**Event-related analysis** (\u003C 10 seconds):\n- Analyzes stimulus-locked responses\n- Epoch-based segmentation\n- Suitable for experimental paradigms with discrete trials\n\n**Interval-related analysis** (≥ 10 seconds):\n- Characterizes physiological patterns over extended periods\n- Resting state or continuous activities\n- Suitable for baseline measurements and long-term monitoring\n\nMost `*_analyze()` functions automatically choose the appropriate mode.\n\n## Installation\n\n```bash\nuv pip install neurokit2\n```\n\nFor development version:\n```bash\nuv pip install https:\u002F\u002Fgithub.com\u002Fneuropsychology\u002FNeuroKit\u002Fzipball\u002Fdev\n```\n\n## Common Workflows\n\n### Quick Start: ECG Analysis\n```python\nimport neurokit2 as nk\n\n# Load example data\necg = nk.ecg_simulate(duration=60, sampling_rate=1000)\n\n# Process ECG\nsignals, info = nk.ecg_process(ecg, sampling_rate=1000)\n\n# Analyze HRV\nhrv = nk.hrv(info['ECG_R_Peaks'], sampling_rate=1000)\n\n# Visualize\nnk.ecg_plot(signals, info)\n```\n\n### Multi-Modal Analysis\n```python\n# Process multiple signals\nbio_signals, bio_info = nk.bio_process(\n    ecg=ecg_signal,\n    rsp=rsp_signal,\n    eda=eda_signal,\n    sampling_rate=1000\n)\n\n# Analyze all signals\nresults = nk.bio_analyze(bio_signals, sampling_rate=1000)\n```\n\n### Event-Related Potential\n```python\n# Find events\nevents = nk.events_find(trigger_channel, threshold=0.5)\n\n# Create epochs\nepochs = nk.epochs_create(processed_signals, events,\n                          sampling_rate=1000,\n                          epochs_start=-0.5, epochs_end=2.0)\n\n# Event-related analysis for each signal type\necg_epochs = nk.ecg_eventrelated(epochs)\neda_epochs = nk.eda_eventrelated(epochs)\n```\n\n## References\n\nThis skill includes comprehensive reference documentation organized by signal type and analysis method:\n\n- **ecg_cardiac.md**: ECG\u002FPPG processing, R-peak detection, delineation, quality assessment\n- **hrv.md**: Heart rate variability indices across all domains\n- **eeg.md**: EEG analysis, frequency bands, microstates, source localization\n- **eda.md**: Electrodermal activity processing and SCR analysis\n- **rsp.md**: Respiratory signal processing and variability\n- **ppg.md**: Photoplethysmography signal analysis\n- **emg.md**: Electromyography processing and activation detection\n- **eog.md**: Electrooculography and blink analysis\n- **signal_processing.md**: General signal utilities and transformations\n- **complexity.md**: Entropy, fractal, and nonlinear measures\n- **epochs_events.md**: Event-related analysis and epoch creation\n- **bio_module.md**: Multi-signal integration workflows\n\nLoad specific reference files as needed using the Read tool to access detailed function documentation and parameters.\n\n## Additional Resources\n\n- Official Documentation: https:\u002F\u002Fneuropsychology.github.io\u002FNeuroKit\u002F\n- GitHub Repository: https:\u002F\u002Fgithub.com\u002Fneuropsychology\u002FNeuroKit\n- Publication: Makowski et al. (2021). NeuroKit2: A Python toolbox for neurophysiological signal processing. Behavior Research Methods. https:\u002F\u002Fdoi.org\u002F10.3758\u002Fs13428-020-01516-y\n\n",{"name":5,"license":44,"metadata":45,"description":7},"MIT license",{"skill-author":46},"K-Dense Inc.","main","f19b254e8975d0bfddb394686706106930d7964d","Science\u002Fclinical-and-medical\u002Fneurokit2","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus","https:\u002F\u002Fgithub.com\u002Fendman100","2026-11-12 18:13:37",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add endman100\u002Fskill-router-nexus --skill neurokit2",{"tool":59,"command":60},"bunx","bunx skills add endman100\u002Fskill-router-nexus --skill neurokit2",{"tool":62,"command":63},"pnpm","pnpm dlx skills add endman100\u002Fskill-router-nexus --skill neurokit2","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fclinical-and-medical\u002Fneurokit2\u002FSKILL.md",true,[67,73,77,81,85,89,93,97,101,105,109,113],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fbio_module.md","REFERENCE","参考文档",13099,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fclinical-and-medical\u002Fneurokit2\u002Freferences\u002Fbio_module.md",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fcomplexity.md",17352,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fclinical-and-medical\u002Fneurokit2\u002Freferences\u002Fcomplexity.md",{"path":78,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fecg_cardiac.md",10810,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fclinical-and-medical\u002Fneurokit2\u002Freferences\u002Fecg_cardiac.md",{"path":82,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Feda.md",14733,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fclinical-and-medical\u002Fneurokit2\u002Freferences\u002Feda.md",{"path":86,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Feeg.md",14306,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fclinical-and-medical\u002Fneurokit2\u002Freferences\u002Feeg.md",{"path":90,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Femg.md",12390,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fclinical-and-medical\u002Fneurokit2\u002Freferences\u002Femg.md",{"path":94,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Feog.md",12271,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fclinical-and-medical\u002Fneurokit2\u002Freferences\u002Feog.md",{"path":98,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":99,"sourceHtmlUrl":100},"references\u002Fepochs_events.md",14793,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fclinical-and-medical\u002Fneurokit2\u002Freferences\u002Fepochs_events.md",{"path":102,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":103,"sourceHtmlUrl":104},"references\u002Fhrv.md",15493,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fclinical-and-medical\u002Fneurokit2\u002Freferences\u002Fhrv.md",{"path":106,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002Fppg.md",11168,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fclinical-and-medical\u002Fneurokit2\u002Freferences\u002Fppg.md",{"path":110,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":111,"sourceHtmlUrl":112},"references\u002Frsp.md",13946,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fclinical-and-medical\u002Fneurokit2\u002Freferences\u002Frsp.md",{"path":114,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":115,"sourceHtmlUrl":116},"references\u002Fsignal_processing.md",16652,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fclinical-and-medical\u002Fneurokit2\u002Freferences\u002Fsignal_processing.md",[118,142,177,199,208,232],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":122,"sourceHtmlUrl":123,"categories":124,"keywords":130,"publishedAt":39},"01M6MPCT5BXVER8HQZTW3QE9AS","create-master","基于佛教经典文献，生成特定高僧大德的 AI 教学角色","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FMetaphysics-and-Spirituality\u002FMaster-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FMetaphysics-and-Spirituality\u002FMaster-skill\u002FSKILL.md",[125],{"categoryNo":126,"categoryName":127,"taxonomyType":128,"taxonomyTypeDesc":129},"01JBSEEDCAT000000000000039","教师与教育","PROFESSION","适用职业",[131,132,133,134,135,136,137,138,139,140,141],"create master","master","create","生成","true","webfetch","edit","write","read","grep","Bash",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":146,"sourceHtmlUrl":147,"categories":148,"keywords":160,"publishedAt":39},"01M6M43AKE95Y64E1JRXEF5QQ3","writing-dna-skill","从至少 20 篇完整文章中蒸馏可复用的写作 DNA，分析语言、文章结构、选题逻辑、素材策略、认知框架和视觉风格，并生成 Writing-DNA.md；按该 DNA 写作时会读取全部蒸馏产物和 5 篇相关原文。用于中英文作者、账号、品牌或出版物的风格分析与一致性写作。 Distill reusable Writing DNA from at least 20 complete articles for Chinese or English authors, publications, brands, and accounts; use for language, structure, topic logic, source strategy, cognitive-frame, and visual-style analysis.","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fwriting-dna-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fwriting-dna-skill\u002FSKILL.md",[149,154,157],{"categoryNo":150,"categoryName":151,"taxonomyType":152,"taxonomyTypeDesc":153},"01JBSEEDCAT000000000000018","写作与文案","SCENARIO","使用场景",{"categoryNo":155,"categoryName":156,"taxonomyType":152,"taxonomyTypeDesc":153},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":158,"categoryName":159,"taxonomyType":128,"taxonomyTypeDesc":129},"01JBSEEDCAT000000000000036","内容创作者",[161,162,163,164,165,166,167,168,169,170,31,171,172,134,34,173,174,22,175,176],"writing dna skill","DNA","writing","strategy","english","logic","visual","structure","chinese","reusable","style","distill","frame","source","at","complete",{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":181,"sourceHtmlUrl":182,"categories":183,"keywords":186,"publishedAt":39},"01M6M428TTCGQ4ME3KY99VN037","stop-slop","Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells.","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fstop-slop\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fstop-slop\u002FSKILL.md",[184,185],{"categoryNo":150,"categoryName":151,"taxonomyType":152,"taxonomyTypeDesc":153},{"categoryNo":158,"categoryName":159,"taxonomyType":128,"taxonomyTypeDesc":129},[187,188,189,190,19,191,192,193,194,31,195,196,197,22,198,163],"slop","stop slop","stop","drafting","drafts","https","patterns","prose","remove","editing","text","content",{"skillNo":200,"name":201,"nameZh":6,"description":202,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":203,"sourceHtmlUrl":204,"categories":205,"keywords":206,"publishedAt":39},"01M6M41X0B7EBX42TK435DMGGR","shuorenhua","检查和清理中英文文本里的 AI 套路，适用于“去 AI 味”“说人话”“自然一点”“别像模板”“先标问题”这类改写和审稿需求；按场景控制力度，同时保留事实、术语、语域和责任主体。","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fshuorenhua\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fshuorenhua\u002FSKILL.md",[],[201,207],"文本",{"skillNo":209,"name":210,"nameZh":6,"description":211,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":212,"sourceHtmlUrl":213,"categories":214,"keywords":215,"publishedAt":39},"01M6M3ZD12WBEW5KXKDM4N6DFG","naming","Name products, SaaS, brands, open source projects, bots, and apps. Use when the user needs to name something, find a brand name, or pick a product name. Metaphor-driven process that produces memorable, meaningful names and avoids AI slop.","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fnaming-main\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fnaming-main\u002FSKILL.md",[],[210,216,217,218,219,220,31,221,139,174,222,223,224,225,141,226,227,228,229,19,230,231,187],"repo","websearch","product name","apps","bots","view","brand","pick","gh","projects","open","saas","open source","product","describe","ai slop",{"skillNo":233,"name":234,"nameZh":6,"description":235,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":236,"sourceHtmlUrl":237,"categories":238,"keywords":240,"publishedAt":39},"01M6M3YVXAFAAWJ7F6JMPFREYE","humanizer-zh","去除文本中的 AI 生成痕迹。适用于编辑或审阅文本，使其听起来更自然、更像人类书写。\n基于维基百科的\"AI 写作特征\"综合指南。检测并修复以下模式：夸大的象征意义、\n宣传性语言、以 -ing 结尾的肤浅分析、模糊的归因、破折号过度使用、三段式法则、\nAI 词汇、否定式排比、过多的连接性短语。","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fhumanizer-zh\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fhumanizer-zh\u002FSKILL.md",[239],{"categoryNo":150,"categoryName":151,"taxonomyType":152,"taxonomyTypeDesc":153},[241,242,243,139,138,137,163,134,207,244,187,189],"humanizer","zh","humanizer zh","翻译"]