pynn_brainscales.brainscales2.populations.Assembly

class pynn_brainscales.brainscales2.populations.Assembly(*populations, **kwargs)

Bases: pyNN.common.populations.Assembly

__init__(*populations, **kwargs)

Create an Assembly of Populations and/or PopulationViews.

Methods

record(variables[, to_file, …])

Record the specified variable or variables for all cells in the Assembly.

Attributes

record(variables, to_file=None, sampling_interval=None, locations=None, *, device='madc')

Record the specified variable or variables for all cells in the Assembly.

variables may be either a single variable name or a list of variable names. For a given celltype class, celltype.recordable contains a list of variables that can be recorded for that celltype.

If specified, to_file should be either a filename or a Neo IO instance and write_data() will be automatically called when end() is called.

locations defines where the variables should be recorded. device defines the device to use.