hcp.read_epochs

hcp.read_epochs(subject, data_type, onset='TIM', run_index=0, hcp_path='.', return_fixations_motor=False)

Read HCP processed data

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’
onset : {‘stim’, ‘resp’, ‘sentence’, ‘block’}
The event onset. The mapping is generous, everything that is not a response is a stimulus, in the sense of internal or external events. sentence and block are specific to task_story_math.
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.
return_fixations_motor : bool
Weather to return fixations or regular trials. For motor data only. Defaults to False.
epochs : instance of mne.Epochs
The MNE epochs. Note, these are pseudo-epochs in the case of onset == ‘rest’.