pynn_brainscales.brainscales2.standardmodels.cells.SpikeSourceArray

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

Bases: pynn_brainscales.brainscales2.standardmodels.cells_base.ExternalNeuron, 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

can_record(variable[, location])

generate_input_data(population, experiment, …)

Generate input data for this population.

generate_vertex(population)

Generate vertex representation for this population.

Attributes

default_parameters

recordable

translations

can_record(variable: str, location=None)bool
default_parameters = {'spike_times': ArrayParameter([])}
generate_input_data(population: pyNN.common.populations.Population, experiment: pygrenade_vx.network.abstract.frontend.ExperimentSnippet, snippet_begin_time: float, snippet_end_time: float)Dict[int, pygrenade_common.PortData]

Generate input data for this population. :param population: Population featuring this cell’s celltype :param experiment: Experiment snippet to generate data for :param snippet_begin_time: Begin time of snippet :param snippet_end_time: End time of snippet :return: Population input data

static generate_vertex(population: pyNN.common.populations.Population)pygrenade_common.Population

Generate vertex representation for this population. :param population: Population featuring this cell’s celltype :return: Population vertex

recordable: Final[List[str]] = ['spikes']
translations = {'spike_times': {'forward_transform': 'spike_times', 'reverse_transform': 'spike_times', 'translated_name': 'spike_times', 'type': 'simple'}}