KamitaniLab / bdpy

Python package for brain decoding analysis (BrainDecoderToolbox2 data format, machine learning analysis, functional MRI)
MIT License
33 stars 22 forks source link

Adding hcp rois #42

Open Holden-bit opened 2 years ago

Holden-bit commented 2 years ago

Hello! I can't use this function. I guess maybe I can't access to the hcp label files. Could you help me with that? Thanks a lot.

ShuntaroAoki commented 2 years ago

Currently, add_hcp_rois is for our lab's internal use, and we do not assume public users. We may modify the function and add documentation for public users, but we cannot give it a high priority right now. Sorry for that.

Briefly, first you need to prepare HCP ROI's mask files coregistered on the anatomical reference of your fMRI data. Then you can add each HCP ROIs by

bdata = add_rois(bdata, list_of_hcp_roi_mask_files)

The HCP ROIs should be named as hcp180_r_lh.L_<ROI name>_ROI and hcp180_r_rh.R_<ROI name>_ROI.

After that, you can run add_hcp_rois on the data.