bidsaid.audit.BIDSAuditor

class bidsaid.audit.BIDSAuditor(bids_dir, derivatives_dir=None)[source]

Check availability of different files for each subject in the BIDS directory.

Parameters

bids_dirstr or Path

The root of the BIDS compliant directory.

Attributes

bids_dirstr or Path

The root of the BIDS compliant directory.

derivatives_dirbool, str, Path, or obj:None, default=None

The root to the fMRIPrep directory.

Methods

check_events_availability([run_id])

Checks the availability of events TSV files for each subject and their sessions.

check_first_level_availability(analysis_dir)

Checks availability of first level beta or contrast maps for each subject and their sessions.

check_preprocessed_nifti_availability([...])

Checks the availability of the preprocessed NIfTI files for each subject and their sessions.

check_raw_nifti_availability([run_id])

Checks the availability of the unpreprocessed NIfTI files for each subject and their sessions.

check_raw_sidecar_availability([run_id])

Checks the availability of JSON sidecar files for each subject and their sessions.

clear_caches()

Clear all cached data.