xcp_d.utils.dcan2fmriprep.convert_dcan_to_bids_single_subject
- xcp_d.utils.dcan2fmriprep.convert_dcan_to_bids_single_subject(in_dir, out_dir, sub_ent)[source]
Convert DCAN derivatives to BIDS-compliant derivatives for a single subject.
- Parameters:
in_dir (str) – Path to the subject’s DCAN derivatives.
out_dir (str) – Path to the output BIDS-compliant derivatives folder.
sub_ent (str) – Subject identifier, with “sub-” prefix.
Notes
Since the T1w is in standard space already, we use identity transforms instead of the individual transforms available in the DCAN derivatives.