xcp_d.utils.bids.collect_morphometry_data
- xcp_d.utils.bids.collect_morphometry_data(layout, participant_label)[source]
Collect morphometry surface files from preprocessed derivatives.
This function will look for fsLR-space, 91k-resolution morphometry CIFTI files.
- Parameters:
layout (
bids.layout.BIDSLayout) – BIDSLayout indexing the ingested (e.g., fMRIPrep-format) derivatives.participant_label (
str) – Subject ID.
- Returns:
morph_file_types (
listofstr) – List of surface morphometry file types (e.g., cortical thickness) already in fsLR space. These files will be (1) parcellated and (2) passed along, without modification, to the XCP-D derivatives.morphometry_files (
dict) – Dictionary of surface file identifiers and their paths. If the surface files weren’t found, then the paths will be Nones.