aslprep.utils.bids module

Utilities to handle BIDS inputs.

collect_data(bids_dir, participant_label, echo=None, bids_validate=False, bids_filters=None)[source]

Use pybids to retrieve the input data for a given participant.

collect_run_data(layout, asl_file, multiecho)[source]

Use pybids to retrieve the input data for a given participant.

validate_input_dir(exec_env, bids_dir, participant_label)[source]

Validate input directory.

This function checks necessary validator requirements, but skips ones that should not influence the pipeline.

write_derivative_description(bids_dir, deriv_dir)[source]

Write derivative dataset_description file.