pynn_brainscales.brainscales2.standardmodels.cells.SpikeSourceArray

class pynn_brainscales.brainscales2.standardmodels.cells.SpikeSourceArray(**parameters)

Bases: pynn_brainscales.brainscales2.standardmodels.cells_base.StandardCellType, pyNN.standardmodels.cells.SpikeSourceArray

Spike source generating spikes at the times [ms] given in the spike_times array.

__init__(**parameters)

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

Methods

add_to_input_generator(population, builder, …)

Add external events to input generator.

add_to_network_graph(population, builder)

Add population to network builder.

can_record(variable[, location])

Attributes

default_parameters

recordable

translations

static add_to_input_generator(population: pyNN.common.populations.Population, builder: _pygrenade_vx_network.InputGenerator, snippet_begin_time, snippet_end_time)

Add external events to input generator. :param population: Population to add featuring this cell’s celltype. :param builder: Input builder to add external events to.

static add_to_network_graph(population: pyNN.common.populations.Population, builder: _pygrenade_vx_network.NetworkBuilder)_pygrenade_vx_network.PopulationOnNetwork

Add population to network builder. :param population: Population to add featuring this cell’s celltype. :param builder: Network builder to add population to. :return: Descriptor of added population

can_record(variable: str, location=None)bool
default_parameters = {'spike_times': ArrayParameter([])}
recordable: Final[List[str]] = ['spikes']
translations = {'spike_times': {'forward_transform': 'spike_times', 'reverse_transform': 'spike_times', 'translated_name': 'spike_times'}}