원클릭으로
clip
Clamp signal amplitude to a maximum absolute value
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Clamp signal amplitude to a maximum absolute value
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Neurodata Without Borders (.nwb) — the de-facto standard for in-vivo electrophysiology (Neuropixels / AIBS / DANDI / IBL)
Index of L0 data-format loader skills by family
Index of all L2 paradigm skills by group + analysis_goal → paradigm matrix
Two-phase BCI data preprocessing pipeline: deep-inspect → plan → propose → user confirm → automated code/execute/QC/export
BIDS-iEEG sidecar (*_channels.tsv / *_electrodes.tsv / *_coordsystem.json / *_ieeg.json) — clinical sEEG / ECoG standard
Multiscale Electrophysiology Format v3 (Mayo Clinic) — long-duration encrypted sEEG
| name | clip |
| description | Clamp signal amplitude to a maximum absolute value |
| layer | L3 |
| group | channel |
| metadata | {"tags":["operator","clip","clamp","artifact","threshold"],"modalities":["eeg","seeg","ecog","meg"],"step_string":"clip","analysis_goal_allowed":["classification","source_localization","feature_extraction","clinical_screening","exploratory","generic","connectivity","phase_amplitude_coupling","online_inference"],"analysis_goal_forbidden":[]} |
Clamps all data values to the range [-max_abs, +max_abs]. Values exceeding the threshold are replaced with the threshold value. Simple but effective artifact suppression.
clip:{max_abs}
Examples:
clip:5 — Clamp to [-5, +5] (after standard scaling)clip:100 — Clamp to [-100, +100] (raw microvolts)clip:3 — Aggressive clipping at 3 standard deviations| Parameter | Type | Default | Description |
|---|---|---|---|
| max_abs | float | required | Maximum absolute amplitude |
| After scaling method | Recommended clip | Rationale |
|---|---|---|
scale:robust | clip:5 | IQR-based; 5 IQRs captures 99.9% of clean data |
scale:standard | clip:3 or clip:5 | 3 SD = 99.7% of Gaussian; 5 SD = very conservative |
| No scaling | clip:100 (uV) | Typical EEG range is ±100 uV |
import numpy as np
max_abs = 5.0 # threshold in scaled units
data = np.clip(data, -max_abs, max_abs)
np.clip(data, -max_abs, max_abs) — in-place-safe clamping