pynn_brainscales.brainscales2.recording_data.RecordingConfig

class pynn_brainscales.brainscales2.recording_data.RecordingConfig

Bases: object

Save which observables are recorded with which “device”.

Currently we only support MADC recordings but in future we want to support readout via the pads and via the CADC. This class saves which observables are recorded for which recording site (recording site = neuron + compartment) and which device is used, where a device is the method of readout, i.e. MADC.

__init__()None

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

add_madc_recording(variables, recording_sites)

add_pad_readout(variables, recording_sites, pad)

add_to_network_graph(network_builder)

remove(recording_site)

Attributes

analog_observable_names

str_to_source_map

add_madc_recording(variables: Set[str], recording_sites: Set[pynn_brainscales.brainscales2.recording_data.GrenadeRecId])
add_pad_readout(variables: Set[str], recording_sites: Set[pynn_brainscales.brainscales2.recording_data.GrenadeRecId], pad: int, buffered: bool = True)
add_to_network_graph(network_builder: _pygrenade_vx_network.NetworkBuilder)None
analog_observable_names = ['v', 'exc_synin', 'inh_synin', 'adaptation']
analog_observables: Dict[pynn_brainscales.brainscales2.recording_data.GrenadeRecId, pyhaldls_vx_v3.NeuronConfig.ReadoutSource]
madc: List[pynn_brainscales.brainscales2.recording_data.GrenadeRecId]
pads: Dict[pyhalco_hicann_dls_vx_v3.PadOnDLS, pynn_brainscales.brainscales2.recording_data.PadConfig]
remove(recording_site: pynn_brainscales.brainscales2.recording_data.GrenadeRecId)
str_to_source_map = {'adaptation': <ReadoutSource.adaptation: 3>, 'exc_synin': <ReadoutSource.exc_synin: 1>, 'inh_synin': <ReadoutSource.inh_synin: 2>, 'v': <ReadoutSource.membrane: 0>}