pynn_brainscales.brainscales2.standardmodels.cells_base.StandardCellType
-
class
pynn_brainscales.brainscales2.standardmodels.cells_base.StandardCellType(**parameters) Bases:
abc.ABC,pyNN.standardmodels.base.StandardCellTypeNetwork addable standard cell type, to be used as base for all cells.
-
__init__(**parameters) Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(**parameters)Initialize self.
generate_input_data(population, experiment, …)Generate input data for this population.
generate_vertex(population)Generate vertex representation for this population.
get_observable_type(name, compartment)Get the type of the observable.
get_receptor(name, compartment)Get receptor by name for compartment.
get_recording_site(name, compartment)Get recording site by name.
Raise if the parameter space is not yet valid.
Attributes
-
analog_obs_port: int = 1
-
abstract
generate_input_data(population: pyNN.common.populations.Population, experiment: pygrenade_vx.network.abstract.frontend.ExperimentSnippet, snippet_begin_time, snippet_end_time) → 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
-
abstract 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
-
classmethod
get_observable_type(name: str, compartment: pygrenade_common.CompartmentOnNeuron) → pynn_brainscales.brainscales2.recording_data.ObservableType Get the type of the observable.
- Parameters
name – Name of variable for which to get the observable type.
compartment – Compartment identifier
- Returns
Type of observable.
-
get_receptor(name: str, compartment: pygrenade_common.CompartmentOnNeuron) → pygrenade_common.MultiIndexSequence Get receptor by name for compartment. :param name: Name of receptor :param compartment: Compartment identifier
-
get_recording_site(name: str, compartment: pygrenade_common.CompartmentOnNeuron) → int Get recording site by name.
- Parameters
name – Name of observable/mechanism which should be recorded.
compartment – Compartment identifier
- Returns
ID of the neuron circuit/mechanism which corresponds to the recorded observable.
-
recording_site_dimension_unit= AtomicNeuronOnCompartmentDimensionUnit()
-
spike_port: int = 0
-
validate_parameter_space() Raise if the parameter space is not yet valid.
In case an initial config is supplied upon setup, the parameter space is not valid until mapping for uncalibrated neurons.
-