aslprep.utils.bids module
Utilities to handle BIDS inputs.
- collect_anat_derivatives(derivatives_dir, subject_id, std_spaces, spec=None, patterns=None, session_id=None)[source]
Gather existing derivatives and compose a cache.
- collect_derivatives(derivatives_dir: Path, entities: dict, fieldmap_id: str | None = None, spec: dict | None = None, patterns: list[str] | None = None)[source]
Gather existing derivatives and compose a cache.
- collect_run_data(layout, asl_file)[source]
Use pybids to retrieve the input data for a given participant.
- get_entity(filename, entity)[source]
Extract a given entity from a BIDS filename via string manipulation.