Skip to content
Back to skills

Datasets And Windowing

ASecurity

"Guides braindecode dataset construction, MNE and array conversion,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
documentationapi

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill datasets-and-windowing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Datasets And Windowing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Datasets And Windowing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-datasets-and-windowing/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-datasets-and-windowing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: datasets-and-windowing
description: "Guides braindecode dataset construction, MNE and array conversion,
  metadata-aware windowing, splitting, and safe serialization for
  electrophysiological signals."
disable-model-invocation: true
metadata:
  disco-role: operating
license: BSD 3-Clause
---

# Datasets and windowing

Use this route when the task starts with NumPy arrays, MNE `Raw`/`Epochs`,
BIDS-like recordings, or a braindecode dataset and asks for targets, metadata,
windows, splits, concatenation, or persistence.

## Workflow

1. Normalize `X` as `(trials, channels, time)` and record `sfreq`, channel names,
   units, subject/session identifiers, and target semantics.
2. For local arrays use `create_from_X_y`; for MNE objects use the MNE
   conversion helpers. Inspect one item and its description before windowing.
3. Choose event windows when annotations/events define trial boundaries, fixed
   windows for continuous recordings, and target-channel windows only when the
   target is represented as a channel in the raw object.
4. Split by subject/session before overlapping windows. Use descriptions to
   filter/partition rather than random row splits when assessing generalization.
5. Persist only after validating metadata and choosing a writable, disposable
   path. Treat Hub/BIDS/MOABB/TUH/Sleep integrations as optional data acquisition
   workflows, not offline smoke tests.

Read [API reference](references/api-reference.md) for constructors and shapes,
[workflows](references/workflows.md) for local conversion/windowing and
serialization recipes, and [optional integrations](references/optional-integrations.md)
when a named external dataset or Hub is required. Use
[troubleshooting](references/troubleshooting.md) before retrying a failed
conversion or window operation. Run [the synthetic smoke helper](scripts/smoke_dataset.py)
to validate local behavior without network access.

Files in this skill

  • SKILL.md1.9 KB
  • references/api-reference.md1.8 KB
  • references/optional-integrations.md1 KB
  • references/troubleshooting.md1.4 KB
  • references/workflows.md1.5 KB
  • scripts/smoke_dataset.py1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.