NodeView

NodeView#

class brainpy.state.network.NodeView(segments)#

A view over one or more slices of populations/devices (NEST-style).

Mimics NEST NodeCollection algebra: a + b concatenates two views (preserving segment boundaries) and a[sl] slices a single-segment view. Each segment references a population and a 1-D array of local indices into that population’s flattened neuron dimension.

classmethod of(population)[source]#

Build a full-population view over population.