hcp.read_annot

hcp.read_annot(subject, data_type, run_index=0, hcp_path='.')

Read annotations for bad data and ICA.

subject : str, file_map
The subject
data_type : str
The kind of data to read. The following options are supported: ‘rest’ ‘task_motor’ ‘task_story_math’ ‘task_working_memory’
run_index : int
The run index. For the first run, use 0, for the second, use 1. Also see HCP documentation for the number of runs for a given data type.
hcp_path : str
The HCP directory, defaults to op.curdir.
out : dict
The annotations.