pynn_brainscales.brainscales2.PopulationView

class pynn_brainscales.brainscales2.PopulationView(parent, selector, label=None)

Bases: pyNN.common.populations.PopulationView

__init__(parent, selector, label=None)

Create a view of a subset of neurons within a parent Population or PopulationView.

Methods

record(variables[, to_file, …])

Record the specified variable or variables for all cells in the Population or view.

Attributes

actual_hwparams

calib_hwparams

calib_target

property actual_hwparams
property calib_hwparams
property calib_target
record(variables: Union[str, List[str]], to_file: Optional[Union[str, neo.io.nixio.NixIO]] = None, sampling_interval: Optional[float] = None, locations: Optional[List[str]] = None, *, device: str = 'madc')None

Record the specified variable or variables for all cells in the Population or view.

Parameters
  • 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. To reset recording of PopulationView or Population call record with “None” as argument.

  • to_file – If specified, variables are written to file when pynn.end() is called. For more details see :py:function::pynn.population.write_data or pyNN-Doc <https://neuralensemble.org/docs/PyNN/data_handling.html>

  • sampling_interval – Feature not yet implemented.

  • locations – Defines where the variables should be recorded. Used with multi-compartment neurons where location is defined by label.

  • device – Configures device which is used to record recordables. Default is set to “madc”. Use as device “pad_[0/1]_[unbuffered/buffered]” to connect recordables of neurons to pads. Each of the 2 pads can be connected to one neuron. For limitations see documentation.