pynn_brainscales.brainscales2.recording_data

Classes

Enum(value[, names, module, qualname, type, …])

Create a collection of name/value pairs.

GrenadeRecId(population, …)

MADCData(times, values)

Times and values of a MADC recording.

PadConfig(rec_site, buffered)

Recording()

Save recording information as well as recorded data.

RecordingConfig()

Save which observables are recorded with which “device”.

RecordingData()

Save recorded data.

RecordingSite(cell_id, comp_id)

RecordingType(value[, names, module, …])

auto([value])

Instances are replaced with an appropriate value in Enum class suites.

Functions

pynn_brainscales.brainscales2.recording_data.NamedTuple(typename, fields=None, /, **kwargs)

Typed version of namedtuple.

Usage:

class Employee(NamedTuple):
    name: str
    id: int

This is equivalent to:

Employee = collections.namedtuple('Employee', ['name', 'id'])

The resulting class has an extra __annotations__ attribute, giving a dict that maps field names to types. (The field names are also in the _fields attribute, which is part of the namedtuple API.) An alternative equivalent functional syntax is also accepted:

Employee = NamedTuple('Employee', [('name', str), ('id', int)])