brainsets.utils.openneuro#

OpenNeuro utilities subpackage.

This package provides utilities for working with OpenNeuro datasets: - S3-based file listing and downloading - BIDS filename parsing for EEG recordings discovery - OpenNeuroPipeline base class and EEG/iEEG subclasses for building pipelines

OPENNEURO_S3_BUCKET

str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

construct_s3_url_from_path

Construct an S3 URL prefix for a recording.

download_dataset_description

Download dataset_description.json from OpenNeuro S3.

download_recording

Download all files matching an S3 prefix pattern for a recording.

fetch_latest_snapshot_tag

Fetch the latest snapshot tag for an OpenNeuro dataset.

fetch_all_filenames

Fetch all filenames for a given OpenNeuro dataset using AWS S3.

fetch_participants_tsv

Fetch and parse participants.tsv from OpenNeuro S3.

fetch_species

Fetch species metadata for an OpenNeuro dataset from GraphQL.

OpenNeuroPipeline

Abstract base class for OpenNeuro dataset pipelines.

OpenNeuroDataModality

base_openneuro_parser

Object for parsing command line strings into Python objects.