GridFour# class brainpy.connect.GridFour(include_self=False, periodic_boundary=False, **kwargs)[source]# The nearest four neighbors connection method. Parameters: periodic_boundary (bool) – Whether the neuron encode the value space with the periodic boundary. .. versionadded:: 2.2.3.2 include_self (bool) – Whether create connection at the same position.