bids-neuroimaging

Convert raw EEG/MEG/fMRI data into BIDS 1.8 directory layouts with metadata.

33|6|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill bids-neuroimaging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bids-neuroimaging
Source: https://github.com/xjtulyc/awesome-rosetta-skills/tree/main/skills/05-neuroscience/bids-neuroimaging
Command: npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill bids-neuroimaging

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mne, mne-bids, pybids, pandas, numpy, datalad, bids-validator, and includes references (resource) components.

What problem does it solve?

This Skill helps you organize and validate EEG/fMRI neuroimaging data into the BIDS 1.8 standard, then query it reliably for downstream analysis and sharing.

Core Features & Use Cases

  • BIDS-compliant dataset creation: Generate required root files such as dataset_description.json and participants.tsv, then write properly named BIDS directory structures.
  • Conversion and sidecar generation: Convert MNE objects to BIDS using mne-bids, automatically producing events.tsv and JSON sidecars (including channels.tsv).
  • Dataset QA and discovery: Validate with bids-validator and query the indexed dataset with pybids (BIDSLayout) to filter by subject/session/task/run/modality.
  • Shareable research workflows: Manage OpenNeuro downloads and derivatives organization via datalad, including a derivatives dataset_description.json workflow.

Quick Start

Use the bids-neuroimaging skill to convert your EEG/MEG/fMRI raw data into a BIDS 1.8 folder, write events.tsv and sidecar metadata, validate the result, and query it with pybids.

Frequently Asked Questions about bids-neuroimaging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert raw EEG and fMRI data into a BIDS-compliant directory structure?

To convert raw EEG and fMRI data into a BIDS-compliant directory structure, use mne-bids to transform MNE objects into BIDS 1.8 format, automatically generating required root files like dataset_description.json and participants.tsv.

Can I generate events.tsv files from experimental annotations for my neuroimaging dataset?

Yes, you can generate events.tsv files from experimental annotations by converting MNE objects using mne-bids, which automatically creates events.tsv and JSON sidecars including channels.tsv for your neuroimaging dataset.

How does pybids query neuroimaging datasets by subject and session?

Pybids queries neuroimaging datasets by indexing the validated BIDS directory with BIDSLayout, allowing you to filter and discover specific files by BIDS entities such as subject, session, task, run, and modality.

What is the best way to validate neuroimaging data against the BIDS 1.8 standard?

The best way to validate neuroimaging data against the BIDS 1.8 standard is using the Node-based bids-validator tool, which checks your dataset for standards compliance, naming conventions, and interoperability before downstream analysis.

Do I need datalad to manage OpenNeuro downloads and BIDS derivatives organization?

Yes, you need datalad to manage OpenNeuro downloads and BIDS derivatives organization, providing shareable research workflows that include setting up a derivatives dataset_description.json for your analyzed neuroimaging data.

Can I use this approach for multi-subject and multi-session neuroimaging studies?

Yes, you can use this approach for multi-subject and multi-session neuroimaging studies, as it applies consistent BIDS naming conventions and generates required metadata files across all subjects and sessions for reliable data sharing.