NEST module

class bsb.simulators.nest.NestAdapter[source]

Interface between the scaffold model and the NEST simulator.

broadcast(data, root=0)[source]

Broadcast data over MPI

collect_output(simulator)[source]

Collect the output of a simulation that completed

connect_neurons()[source]

Connect the cells in NEST according to the connection model configurations

create_devices()[source]

Create the configured NEST devices in the simulator

create_model(cell_model)[source]

Create a NEST cell model in the simulator based on a cell model configuration.

create_neurons()[source]

Create a population of nodes in the NEST simulator based on the cell model configurations.

create_synapse_model(connection_model)[source]

Create a NEST synapse model in the simulator based on a synapse model configuration.

get_rank()[source]

Return the rank of the current node.

get_size()[source]

Return the size of the collection of all distributed nodes.

prepare()[source]

This method turns a stored HDF5 network architecture and returns a runnable simulator.

Returns

A simulator prepared to run a simulation according to the given configuration.

simulate(simulator)[source]

Start a simulation given a simulator object.

validate()[source]

Must be implemented by child classes. Raise exceptions when invalid configuration parameters are received.

class bsb.simulators.nest.NestCell(adapter)[source]
validate()[source]

Must be implemented by child classes. Raise exceptions when invalid configuration parameters are received.

class bsb.simulators.nest.NestConnection(adapter)[source]
validate()[source]

Must be implemented by child classes. Raise exceptions when invalid configuration parameters are received.

class bsb.simulators.nest.NestDevice(adapter)[source]
get_nest_targets()[source]

Return the targets of the stimulation to pass into the nest.Connect call.

validate()[source]

Must be implemented by child classes. Raise exceptions when invalid configuration parameters are received.

class bsb.simulators.nest.NestEntity(adapter)[source]