xcp_d.utils.hcp2fmriprep.convert_hcp_to_bids_single_subject

xcp_d.utils.hcp2fmriprep.convert_hcp_to_bids_single_subject(in_dir, out_dir, sub_ent)[source]

Convert HCP derivatives to BIDS-compliant derivatives for a single subject.

Parameters:
  • in_dir (str) – Path to the subject’s HCP derivatives.

  • out_dir (str) – Path to the output fMRIPrep-style 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.