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

Define the sensor connectivity through neighbors or distance

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