eelbrain.Sensor.set_connectivity

Sensor.set_connectivity(neighbors=None, connect_dist=None)

Define the sensor connectivity through neighbors or distance

Parameters:
  • neighbors (sequence of (str, str)) – A list of connections, all assumed to be bidirectional.

  • connect_dist (None | scalar) – For each sensor, neighbors are defined as those sensors within connect_dist times the distance of the closest neighbor. e.g., 1.75 or 1.6