funROI.datasets

HCP

funROI.datasets.hcp.fetch_data(data_dir: str | Path, task: str, subjects: List[str]) None[source]

Fetches the HCP dataset for a given task and subjects, and converts it to BIDS format.

Parameters:
  • data_dir (Union[str, pathlib.Path]) – Path to the directory where the data will be stored.

  • task (str) – The task to fetch data for. Options are “LANGUAGE”, “MOTOR”, “WM”, and “SOCIAL”.

  • subjects (List[str]) – List of subject IDs to fetch data for (e.g., [“100307”, “100408”]).