Skip to content
Back to skills

Timefreq Stats Decoding Simulation

ASecurity

"Guide MNE-Python time-frequency, spectral, statistics, decoding,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
datapythonapi

Works with

  • cli
  • 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 timefreq-stats-decoding-simulation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Timefreq Stats Decoding Simulation?

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

Security grade badge for Timefreq Stats Decoding Simulation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-timefreq-stats-decoding-simulation/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-timefreq-stats-decoding-simulation)

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: timefreq-stats-decoding-simulation
description: "Guide MNE-Python time-frequency, spectral, statistics, decoding,
  and simulation workflows for Raw, Epochs, Evoked, and source data."
disable-model-invocation: true
metadata:
  disco-role: operating
license: BSD 3-Clause
---

# MNE-Python time-frequency, statistics, decoding, and simulation router

Use this sub-skill when a task needs spectra, time-frequency transforms,
cross-spectral density, statistical inference, machine-learning/decoding, or
synthetic MNE data.

## Load order

1. For PSD/TFR/CSD, statistics, decoding, and simulation recipes, read
   [references/workflows.md](references/workflows.md).
2. For verified signatures, object shapes, and API defaults, read
   [references/api-reference.md](references/api-reference.md).
3. For permutation clusters, adjacency, regression, cross-validation, CSP, and
   scikit-learn-dependent decoding details, read
   [references/statistics-and-decoding.md](references/statistics-and-decoding.md).
4. If the task reports shape, baseline, frequency, permutation, adjacency,
   scikit-learn, or simulation errors, read
   [references/troubleshooting.md](references/troubleshooting.md).
5. For a deterministic local smoke check, run or adapt
   [scripts/analysis_smoke.py](scripts/analysis_smoke.py).

## Own these requests

- Power spectra and spectral estimates: `Raw.compute_psd`, `Epochs.compute_psd`,
  `Spectrum`, Welch/multitaper array helpers, frequency-band summaries.
- Time-frequency representations: Morlet/wavelet, multitaper, Stockwell, TFR
  objects, baseline correction, decimation, and output type choices.
- Cross-spectral density and frequency-domain beamformer inputs.
- Sensor/source statistics: permutation tests, cluster tests, adjacency,
  multiple-comparison correction, regression, and FDR.
- Decoding and machine learning: CSP, SSD, Xdawn, EMS, receptive fields,
  `SlidingEstimator`, `GeneralizingEstimator`, scikit-learn pipelines, scoring,
  leakage-safe cross-validation.
- Simulation: synthetic `Raw`, `Evoked`, `SourceEstimate`, source simulators,
  metrics, and generated data for tests/examples.

## Route elsewhere

- Reading files, channel metadata ingestion, and synthetic `RawArray` basics
  belong to `io-raw-data`.
- Filtering, artifact correction, event extraction, epochs, evoked responses,
  covariance preprocessing, and rank preparation belong to
  `preprocessing-epochs-evoked`.
- Plotting spectra/TFR/topomaps/results belongs to `visualization-reporting`
  after this sub-skill chooses the analysis output.
- Source spaces, forward models, inverse operators, and beamformer filter
  construction belong to `source-modeling-inverse`; this sub-skill owns CSD and
  statistical analysis around those outputs.
- Installation/extras and no-download dataset checks belong to
  `cli-datasets-config`.

## Operating rules

- Decide and document data shape before selecting an API. Sensor/epoch arrays,
  `Epochs`, `Evoked`, `SourceEstimate`, and NumPy arrays have different axis
  conventions and adjacency needs.
- Choose frequency parameters from sampling rate and epoch length; avoid asking
  for frequencies that cannot be resolved from the available data.
- Keep statistics independent of visualization: first compute arrays/statistics,
  then route plotting to the visualization sub-skill.
- Treat scikit-learn as an optional dependency for many decoding workflows.
  If unavailable, either install the documented extra/path or restrict the task
  to non-decoding analysis.
- Prevent data leakage. Fitting filters, scalers, CSP, feature selection, or
  decoders must happen inside cross-validation pipelines when estimating
  generalization.
- Never depend on the original repository checkout at runtime; use these
  references and bundled helpers.

Files in this skill

  • SKILL.md3.7 KB
  • references/api-reference.md4.5 KB
  • references/statistics-and-decoding.md3.4 KB
  • references/troubleshooting.md3.5 KB
  • references/workflows.md4.2 KB
  • scripts/analysis_smoke.py2.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.