pynn_brainscales.brainscales2.simulator

Classes

BackgroundSpikeSourcePlacement(permutation)

Tracks assignment of pyNN IDs of SpikeSourcePoissonOnChip based populations to the corresponding hardware entity, i.e. BackgroundSpikeSourceOnDLS.

BaseState()

Base class for simulator _State classes.

ID(n)

Instead of storing ids as integers, we store them as ID objects, which allows a syntax like: p[3,4].tau_m = 20.0 where p is a Population object.

IDMixin()

Instead of storing ids as integers, we store them as ID objects, which allows a syntax like: p[3,4].tau_m = 20.0 where p is a Population object.

MADCRecording(times, values)

Times and values of a MADC recording.

NamedTuple(typename[, fields])

Typed version of namedtuple.

NeuronCalibTarget(leak, numpy.ndarray] = 80, …)

Target parameters for the neuron calibration.

NeuronPlacement(permutation)

Tracks the assignment of pyNN IDs to LogicalNeuronOnDLS.

Population(size, cellclass[, cellparams, …])

A group of neurons all of the same type.

Projection(presynaptic_neurons, …[, …])

A container for all the connections of a given type (same synapse type and plasticity mechanisms) between two populations, together with methods to set the parameters of those connections, including the parameters of plasticity mechanisms.

Recording()

Save recording information as well as recorded data.

State()

Represent the simulator state.

Functions

pynn_brainscales.brainscales2.simulator.calibrate(target: calix.common.base.TopLevelCalibTarget, options: Optional[calix.common.base.CalibOptions] = None, cache_paths: Optional[List[pathlib.Path]] = None, cache_read_only: Optional[bool] = False, connection: Optional = None)calix.common.base.CalibResult

Calibrate chip with cache functionality. Calibration function is deduced from target and options type. If cache_paths is not empty, searches for cached calibration result with same parameters in list order. If no cache is found executes calibration and caches in fist path with write access.

Parameters
  • target – Target values for calibration.

  • options – Options for calibration.

  • cache_paths – List of possible cache locations. If list is empty, caching is skipped. If None defaults are used. Defaults are read-only shared wang cache path followed by user home cache.

  • cache_read_only – Only read cache file, do not create cache file if one does not exist.

Returns

Calibration result

pynn_brainscales.brainscales2.simulator.copy(x)

Shallow copy operation on arbitrary Python objects.

See the module’s __doc__ string for more info.

pynn_brainscales.brainscales2.simulator.deepcopy(x, memo=None, _nil=[])

Deep copy operation on arbitrary Python objects.

See the module’s __doc__ string for more info.