eelbrain.pipeline.Pipeline.load_neighbor_correlation
- Pipeline.load_neighbor_correlation(subjects=None, epoch=None, add_bads=True, return_data=False, **state)[source]
Load sensor neighbor correlation
- Parameters:
subjects (str | Literal[1, -1]) – Subject(s) for which to load data. Can be a single subject name or a group name such as
'all'.1to use the current subject;-1for the current group. Default is current subject (or group ifgroupis specified).epoch (str) – Epoch to use for computing neighbor-correlation (by default, the whole task is used).
add_bads (bool) – Reject bad channels first.
return_data (bool) – Return the data from which the correlation is calculated. Only possible when loading neighbor-correlation for a single subject.
- Returns:
data (NDVar) – Data from which the correlation is calculated (only retuned with
return_data=True).nc (NDVar | Dataset) – Sensor neighbor-correlation as
NDVarfor a single subject or asDatasetfor multiple subjects.
- Return type: