brainpy.connect.grid_eight#

brainpy.connect.grid_eight = GridEight(N=1, include_self=False, periodic_boundary=False)#

The nearest eight neighbors conn method.

Parameters
  • include_self (bool) – Whether create (i, i) conn ?

  • periodic_boundary (bool) – Whether the neurons encode the value space with the periodic boundary. .. versionadded:: 2.2.3.2