본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트51k · #3504

neurokit2

하는 일

이 도구는 NeuroKit2 라이브러리를 사용해 생리 신호 데이터(예: 심장 박동)를 신뢰성 있고 반복 가능하게 정리하고 분석하도록 연구자를 돕습니다. 처리 단계가 명확하고 결과를 검증할 수 있도록 합니다.

사용하는 경우

  • ✓생물학 데이터 분석을 위해 NeuroKit2 라이브러리를 가져오거나 사용할 때.
  • ✓생리 신호 분석을 재현 가능하게 해야 할 때.
  • ✓연구를 위해 생리 시계열 데이터를 처리할 때.

스킬 링크

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/neurokit2/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/neurokit2/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“NeuroKit2로 ECG 데이터를 재현 가능하게 처리하고 분석하려고 합니다. 아티팩트가 교정되도록 하려면 어떻게 해야 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 신호를 검사하고, 정리하고, 분석하는 단계별 과정을 따릅니다. 특정 분석 방법을 적용하기 전에 샘플링 속도, 단위, 잠재적인 데이터 문제 같은 세부 사항을 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

NeuroKit2

Scope and evidence cutoff

Use this skill for method-aware, reproducible biosignal research with NeuroKit2. The snapshot was checked on 2026-10-01 against:

  • stable PyPI 0.2.13, released 2026-03-02;
  • Python metadata (>=3.10; classifiers 3.10–3.14) and wheel dependencies;
  • GitHub release notes/tags, NEWS.rst, source at tag v0.2.13;
  • official API pages/examples (the live site identified itself as 0.2.13.dev214); and
  • pinned 0.2.13 runtime signatures and synthetic output schemas.

The current wheel requires pandas<3.0.0. The refreshed core checks use Python 3.13, NumPy 2.5.3, and pandas 2.3.3; forcing pandas 3 conflicts with upstream metadata. API fragments below assume caller-provided arrays and imports. Optional MNE source reconstruction, cvxEDA, EMD, and pyRQA paths are source-reviewed, not runtime-validated by this refresh. Synthetic checks establish software behavior, not empirical validity.

The live documentation can be ahead of the stable wheel. Prefer the pinned runtime for reproducible work and name both versions if consulting development docs.

Boundary

NeuroKit2 is a research and educational toolbox. Do not present its output as:

  • a diagnosis, treatment recommendation, patient-monitoring decision, or alarm;
  • validation, certification, or regulatory evidence for a medical device; or
  • proof that a physiological construct is measured validly in a new sensor, protocol, environment, population, or disease group.

Validate acquisition hardware, electrode/optode placement, units, sampling and clock accuracy, preprocessing, detector/decomposition method, population, task, and outcomes for the intended study. Preserve raw data and an auditable exclusion log. Use deidentified local files only; do not place PHI in prompts, logs, examples, or bundled fixtures.

Reproducible installation

uv pip install "neurokit2==0.2.13"

For optional features, create a uv project, add only the packages actually required at reviewed exact versions, and commit/review the resulting uv.lock before uv sync --locked. NeuroKit2 exposes an upstream full extra, but this skill intentionally does not install that floating transitive set in an automated workflow. Optional capabilities can require MNE, cvxopt, Plotly, PyEMD, pyRQA, Pillow, OpenCV, or file readers. Record the resolved environment with the analysis. Provision any MNE data/template download as an explicit, checksummed study input. Do not install a moving development branch for a reproducible study.

Required data contract

Before processing, record:

  1. signal identity and sensor/channel configuration;
  2. native sampling rate in Hz and physical unit (or explicitly arbitrary_unit);
  3. clock, timestamp origin, drift correction, and synchronization evidence;
  4. polarity/orientation and acquisition-side filters/gain;
  5. missing samples, discontinuities, saturation, flatlines, motion, and annotations;
  6. whether event onsets are zero-based sample indices or seconds;
  7. planned preprocessing order, methods, parameters, exclusions, and outputs; and
  8. participant-level grouping needed to prevent leakage in later statistics.

Never infer units from a column name. Do not silently treat samples as milliseconds, volts, microsiemens, or arbitrary units.

Core workflow

1. Inspect before transforming

python skills/neurokit2/scripts/inspect_signal.py \
  --input recording.csv --root . --deidentified \
  --columns ECG,RSP,EDA --time-column time_s \
  --units ECG=mV,RSP=a.u.,EDA=uS

The inspector is bounded and emits no row values or paths. Resolve non-monotonic time, duplicate samples, gaps, non-finite values, flat runs, and sampling-rate disagreement before filtering.

2. Preserve preprocessing order

Use this default reasoning order, adapting it to the acquisition and cited method:

  1. preserve immutable raw signal and annotations;
  2. verify time base, units, polarity, clipping, gaps, and artifacts;
  3. segment at long gaps; only interpolate short gaps under a declared policy;
  4. apply modality-specific cleaning at the native sampling rate;
  5. detect peaks/onsets or decompose components;
  6. inspect quality outputs and raw overlays;
  7. correct peaks only with logged categories and sensitivity checks;
  8. derive rates/features;
  9. align continuous modalities on a declared common time grid; and
  10. map event indices to that grid, epoch, baseline, and analyze.

…

자주 묻는 질문

이 맥락에서 ‘재현 가능하다’는 것은 무슨 뜻인가요?

다른 사람이나 미래의 자신이 같은 데이터로 정확히 같은 단계를 따라 같은 결과를 얻을 수 있다는 뜻입니다.

의학적 진단에 사용할 수 있나요?

아닙니다. 이 도구는 연구와 교육 목적으로만 사용해야 합니다. 진단, 치료, 의학적 결정에 사용해서는 안 됩니다.

어떤 종류의 생리 신호를 분석할 수 있나요?

ECG(심전도), EDA(피부 전기 활동), RSP(호흡) 등 다양한 신호를 분석하도록 설계되어 있습니다.

상세 정보

작성자의 원본 설명

Builds and audits reproducible NeuroKit2 research workflows for physiological time-series preprocessing, event/interval analysis, multimodal alignment, variability, and complexity. Use when code imports neurokit2 or needs its current APIs, schemas, and method-aware validation—not for diagnosis or device validation.

repo: K-Dense-AI/scientific-agent-skills

인기도

GitHub 스타
51k
순위
#3504
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬