- eelbrain.neighbor_correlation(x, dim='sensor', obs='time', func=<function mean>, flat=0, name=None)
Calculate Neighbor correlation
NDVar) – The data.
str) – Dimension over which to correlate neighbors (default ‘sensor’).
str) – Dimension which provides observations over which to compute the correlation (default ‘time’).
float) – Value to substitute for flat channels (default 0).
NDVar that contains for each element in
dimthe with average correlation coefficient with its neighbors.
- Return type