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

Read information about trials

subject : str
The HCP 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.
trial_info : dict
The trial info including event labels, indices and times.