How to replace call to sp._getNeighborsND()


#1

@Victor @mrcslws @ycui I used to have this logic running to show inhibition masks over topological input.

Can you tell me how to get this now that _getNeighborsND() is gone?


#2

If it’s using wrapAround, use wrappingNeighborhood

else use neighborhood

topology.neighborhood(colIndex, sp._inhibitionRadius, sp._columnDimensions)