pynn_brainscales.brainscales2.standardmodels.cells.HXNeuron
-
class
pynn_brainscales.brainscales2.standardmodels.cells.
HXNeuron
(**parameters) Bases:
pynn_brainscales.brainscales2.standardmodels.cells_base.NeuronCellType
One to one representation of subset of parameter space of a lola.AtomicNeuron. Parameter hierarchy is flattened. Defaults to “silent” neuron.
- Parameters
parameters – Mapping of parameters and corresponding values, e.g. dict. Either 1-dimensional or population size dimensions. Default values are overwritten for specified parameters.
-
__init__
(**parameters) parameters should be a mapping object, e.g. a dict
Methods
__init__
(**parameters)parameters should be a mapping object, e.g.
add_to_chip
(cell_ids, config)Add configuration of each neuron in the parameter space to the give chip object.
add_to_input_generator
(population, builder, …)Add external events to input generator.
add_to_network_graph
(population, builder)Add population to network builder.
apply_config
(logical_coords)Extract and apply config according to provided chip object
can_record
(variable[, location])create_hw_entity
(pynn_parameters)Builds a Lola Neuron with the values from the dict ‘pynn_parameters’.
Get the default values.
Attributes
-
add_to_chip
(cell_ids: List, config: pylola_vx_v3.Chip) Add configuration of each neuron in the parameter space to the give chip object.
- Parameters
cell_ids – Cell IDs for each neuron in the parameter space of this celltype object.
chip – Lola chip object which is altered.
-
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
-
apply_config
(logical_coords: List[pyhalco_hicann_dls_vx_v3.LogicalNeuronOnDLS]) Extract and apply config according to provided chip object
- Parameters
coords – List of coordinates to look up coco. Needs same order and dimensions as parameter_space.
-
can_record
(variable: str, location=None) → bool
-
conductance_based
: Final[bool] = False
-
classmethod
create_hw_entity
(pynn_parameters: dict) → pylola_vx_v3.AtomicNeuron Builds a Lola Neuron with the values from the dict ‘pynn_parameters’.
-
default_parameters
: Final[Dict[str, Any]] = {'adaptation_enable': False, 'adaptation_enable_pulse': False, 'adaptation_i_bias_a': 0.0, 'adaptation_i_bias_b': 0.0, 'adaptation_i_bias_tau': 0.0, 'adaptation_invert_a': False, 'adaptation_invert_b': False, 'adaptation_v_leak': 0.0, 'adaptation_v_ref': 0.0, 'bayesian_connect_fire_from_right': False, 'bayesian_connect_fire_to_right': False, 'bayesian_connect_fire_vertical': False, 'bayesian_enable_master': False, 'bayesian_enable_slave': False, 'bayesian_operation': 0.0, 'bayesian_to_post_pulse': True, 'constant_current_enable': False, 'constant_current_i_offset': 0.0, 'constant_current_type': 0.0, 'event_routing_address': 0.0, 'event_routing_enable_bypass_excitatory': False, 'event_routing_enable_bypass_inhibitory': False, 'event_routing_enable_post_overwrite': False, 'excitatory_input_enable': False, 'excitatory_input_enable_coba_mode': False, 'excitatory_input_enable_high_resistance': False, 'excitatory_input_enable_small_capacitance': True, 'excitatory_input_i_bias_coba': 0.0, 'excitatory_input_i_bias_gm': 0.0, 'excitatory_input_i_bias_tau': 0.0, 'excitatory_input_i_shift_reference': 0.0, 'excitatory_input_v_rev_coba': 0.0, 'exponential_enable': False, 'exponential_i_bias': 0.0, 'exponential_v_exp': 0.0, 'inhibitory_input_enable': False, 'inhibitory_input_enable_coba_mode': False, 'inhibitory_input_enable_high_resistance': False, 'inhibitory_input_enable_small_capacitance': True, 'inhibitory_input_i_bias_coba': 0.0, 'inhibitory_input_i_bias_gm': 0.0, 'inhibitory_input_i_bias_tau': 0.0, 'inhibitory_input_i_shift_reference': 0.0, 'inhibitory_input_v_rev_coba': 0.0, 'leak_enable_degeneration': False, 'leak_enable_division': False, 'leak_enable_multiplication': False, 'leak_i_bias': 0.0, 'leak_v_leak': 0.0, 'membrane_capacitance_capacitance': 0.0, 'multicompartment_connect_right': False, 'multicompartment_connect_soma': False, 'multicompartment_connect_soma_right': False, 'multicompartment_connect_vertical': False, 'multicompartment_enable_conductance': False, 'multicompartment_enable_conductance_division': False, 'multicompartment_enable_conductance_multiplication': False, 'multicompartment_i_bias_nmda': 0.0, 'plasticity_rule_enable_readout_source': False, 'plasticity_rule_readout_source': 0.0, 'readout_enable_unbuffered_access': False, 'refractory_period_enable_pause': False, 'refractory_period_input_clock': 0.0, 'refractory_period_refractory_time': 0.0, 'refractory_period_reset_holdoff': 15.0, 'reset_enable_degeneration': False, 'reset_enable_division': False, 'reset_enable_multiplication': False, 'reset_i_bias': 0.0, 'reset_v_reset': 0.0, 'threshold_enable': False, 'threshold_v_threshold': 0.0}
-
classmethod
get_default_values
() → dict Get the default values.
-
injectable
: Final[bool] = True
-
logical_compartments
: Final[pyhalco_hicann_dls_vx_v3.LogicalNeuronCompartments] = LogicalNeuronCompartments( CompartmentOnLogicalNeuron(0) AtomicNeuronOnLogicalNeuron(NeuronColumnOnLogicalNeuron(0), NeuronRowOnLogicalNeuron(0); Enum(0)) )
-
receptor_types
: Final[List[str]] = ['excitatory', 'inhibitory']
-
recordable
: Final[List[str]] = ['spikes', 'v', 'exc_synin', 'inh_synin', 'adaptation']
-
translations
: Final[Dict[str, str]] = {'adaptation_enable': {'forward_transform': 'adaptation_enable', 'reverse_transform': 'adaptation_enable', 'translated_name': 'adaptation_enable'}, 'adaptation_enable_pulse': {'forward_transform': 'adaptation_enable_pulse', 'reverse_transform': 'adaptation_enable_pulse', 'translated_name': 'adaptation_enable_pulse'}, 'adaptation_i_bias_a': {'forward_transform': 'adaptation_i_bias_a', 'reverse_transform': 'adaptation_i_bias_a', 'translated_name': 'adaptation_i_bias_a'}, 'adaptation_i_bias_b': {'forward_transform': 'adaptation_i_bias_b', 'reverse_transform': 'adaptation_i_bias_b', 'translated_name': 'adaptation_i_bias_b'}, 'adaptation_i_bias_tau': {'forward_transform': 'adaptation_i_bias_tau', 'reverse_transform': 'adaptation_i_bias_tau', 'translated_name': 'adaptation_i_bias_tau'}, 'adaptation_invert_a': {'forward_transform': 'adaptation_invert_a', 'reverse_transform': 'adaptation_invert_a', 'translated_name': 'adaptation_invert_a'}, 'adaptation_invert_b': {'forward_transform': 'adaptation_invert_b', 'reverse_transform': 'adaptation_invert_b', 'translated_name': 'adaptation_invert_b'}, 'adaptation_v_leak': {'forward_transform': 'adaptation_v_leak', 'reverse_transform': 'adaptation_v_leak', 'translated_name': 'adaptation_v_leak'}, 'adaptation_v_ref': {'forward_transform': 'adaptation_v_ref', 'reverse_transform': 'adaptation_v_ref', 'translated_name': 'adaptation_v_ref'}, 'bayesian_connect_fire_from_right': {'forward_transform': 'bayesian_connect_fire_from_right', 'reverse_transform': 'bayesian_connect_fire_from_right', 'translated_name': 'bayesian_connect_fire_from_right'}, 'bayesian_connect_fire_to_right': {'forward_transform': 'bayesian_connect_fire_to_right', 'reverse_transform': 'bayesian_connect_fire_to_right', 'translated_name': 'bayesian_connect_fire_to_right'}, 'bayesian_connect_fire_vertical': {'forward_transform': 'bayesian_connect_fire_vertical', 'reverse_transform': 'bayesian_connect_fire_vertical', 'translated_name': 'bayesian_connect_fire_vertical'}, 'bayesian_enable_master': {'forward_transform': 'bayesian_enable_master', 'reverse_transform': 'bayesian_enable_master', 'translated_name': 'bayesian_enable_master'}, 'bayesian_enable_slave': {'forward_transform': 'bayesian_enable_slave', 'reverse_transform': 'bayesian_enable_slave', 'translated_name': 'bayesian_enable_slave'}, 'bayesian_operation': {'forward_transform': 'bayesian_operation', 'reverse_transform': 'bayesian_operation', 'translated_name': 'bayesian_operation'}, 'bayesian_to_post_pulse': {'forward_transform': 'bayesian_to_post_pulse', 'reverse_transform': 'bayesian_to_post_pulse', 'translated_name': 'bayesian_to_post_pulse'}, 'constant_current_enable': {'forward_transform': 'constant_current_enable', 'reverse_transform': 'constant_current_enable', 'translated_name': 'constant_current_enable'}, 'constant_current_i_offset': {'forward_transform': 'constant_current_i_offset', 'reverse_transform': 'constant_current_i_offset', 'translated_name': 'constant_current_i_offset'}, 'constant_current_type': {'forward_transform': 'constant_current_type', 'reverse_transform': 'constant_current_type', 'translated_name': 'constant_current_type'}, 'event_routing_address': {'forward_transform': 'event_routing_address', 'reverse_transform': 'event_routing_address', 'translated_name': 'event_routing_address'}, 'event_routing_enable_bypass_excitatory': {'forward_transform': 'event_routing_enable_bypass_excitatory', 'reverse_transform': 'event_routing_enable_bypass_excitatory', 'translated_name': 'event_routing_enable_bypass_excitatory'}, 'event_routing_enable_bypass_inhibitory': {'forward_transform': 'event_routing_enable_bypass_inhibitory', 'reverse_transform': 'event_routing_enable_bypass_inhibitory', 'translated_name': 'event_routing_enable_bypass_inhibitory'}, 'event_routing_enable_post_overwrite': {'forward_transform': 'event_routing_enable_post_overwrite', 'reverse_transform': 'event_routing_enable_post_overwrite', 'translated_name': 'event_routing_enable_post_overwrite'}, 'excitatory_input_enable': {'forward_transform': 'excitatory_input_enable', 'reverse_transform': 'excitatory_input_enable', 'translated_name': 'excitatory_input_enable'}, 'excitatory_input_enable_coba_mode': {'forward_transform': 'excitatory_input_enable_coba_mode', 'reverse_transform': 'excitatory_input_enable_coba_mode', 'translated_name': 'excitatory_input_enable_coba_mode'}, 'excitatory_input_enable_high_resistance': {'forward_transform': 'excitatory_input_enable_high_resistance', 'reverse_transform': 'excitatory_input_enable_high_resistance', 'translated_name': 'excitatory_input_enable_high_resistance'}, 'excitatory_input_enable_small_capacitance': {'forward_transform': 'excitatory_input_enable_small_capacitance', 'reverse_transform': 'excitatory_input_enable_small_capacitance', 'translated_name': 'excitatory_input_enable_small_capacitance'}, 'excitatory_input_i_bias_coba': {'forward_transform': 'excitatory_input_i_bias_coba', 'reverse_transform': 'excitatory_input_i_bias_coba', 'translated_name': 'excitatory_input_i_bias_coba'}, 'excitatory_input_i_bias_gm': {'forward_transform': 'excitatory_input_i_bias_gm', 'reverse_transform': 'excitatory_input_i_bias_gm', 'translated_name': 'excitatory_input_i_bias_gm'}, 'excitatory_input_i_bias_tau': {'forward_transform': 'excitatory_input_i_bias_tau', 'reverse_transform': 'excitatory_input_i_bias_tau', 'translated_name': 'excitatory_input_i_bias_tau'}, 'excitatory_input_i_shift_reference': {'forward_transform': 'excitatory_input_i_shift_reference', 'reverse_transform': 'excitatory_input_i_shift_reference', 'translated_name': 'excitatory_input_i_shift_reference'}, 'excitatory_input_v_rev_coba': {'forward_transform': 'excitatory_input_v_rev_coba', 'reverse_transform': 'excitatory_input_v_rev_coba', 'translated_name': 'excitatory_input_v_rev_coba'}, 'exponential_enable': {'forward_transform': 'exponential_enable', 'reverse_transform': 'exponential_enable', 'translated_name': 'exponential_enable'}, 'exponential_i_bias': {'forward_transform': 'exponential_i_bias', 'reverse_transform': 'exponential_i_bias', 'translated_name': 'exponential_i_bias'}, 'exponential_v_exp': {'forward_transform': 'exponential_v_exp', 'reverse_transform': 'exponential_v_exp', 'translated_name': 'exponential_v_exp'}, 'inhibitory_input_enable': {'forward_transform': 'inhibitory_input_enable', 'reverse_transform': 'inhibitory_input_enable', 'translated_name': 'inhibitory_input_enable'}, 'inhibitory_input_enable_coba_mode': {'forward_transform': 'inhibitory_input_enable_coba_mode', 'reverse_transform': 'inhibitory_input_enable_coba_mode', 'translated_name': 'inhibitory_input_enable_coba_mode'}, 'inhibitory_input_enable_high_resistance': {'forward_transform': 'inhibitory_input_enable_high_resistance', 'reverse_transform': 'inhibitory_input_enable_high_resistance', 'translated_name': 'inhibitory_input_enable_high_resistance'}, 'inhibitory_input_enable_small_capacitance': {'forward_transform': 'inhibitory_input_enable_small_capacitance', 'reverse_transform': 'inhibitory_input_enable_small_capacitance', 'translated_name': 'inhibitory_input_enable_small_capacitance'}, 'inhibitory_input_i_bias_coba': {'forward_transform': 'inhibitory_input_i_bias_coba', 'reverse_transform': 'inhibitory_input_i_bias_coba', 'translated_name': 'inhibitory_input_i_bias_coba'}, 'inhibitory_input_i_bias_gm': {'forward_transform': 'inhibitory_input_i_bias_gm', 'reverse_transform': 'inhibitory_input_i_bias_gm', 'translated_name': 'inhibitory_input_i_bias_gm'}, 'inhibitory_input_i_bias_tau': {'forward_transform': 'inhibitory_input_i_bias_tau', 'reverse_transform': 'inhibitory_input_i_bias_tau', 'translated_name': 'inhibitory_input_i_bias_tau'}, 'inhibitory_input_i_shift_reference': {'forward_transform': 'inhibitory_input_i_shift_reference', 'reverse_transform': 'inhibitory_input_i_shift_reference', 'translated_name': 'inhibitory_input_i_shift_reference'}, 'inhibitory_input_v_rev_coba': {'forward_transform': 'inhibitory_input_v_rev_coba', 'reverse_transform': 'inhibitory_input_v_rev_coba', 'translated_name': 'inhibitory_input_v_rev_coba'}, 'leak_enable_degeneration': {'forward_transform': 'leak_enable_degeneration', 'reverse_transform': 'leak_enable_degeneration', 'translated_name': 'leak_enable_degeneration'}, 'leak_enable_division': {'forward_transform': 'leak_enable_division', 'reverse_transform': 'leak_enable_division', 'translated_name': 'leak_enable_division'}, 'leak_enable_multiplication': {'forward_transform': 'leak_enable_multiplication', 'reverse_transform': 'leak_enable_multiplication', 'translated_name': 'leak_enable_multiplication'}, 'leak_i_bias': {'forward_transform': 'leak_i_bias', 'reverse_transform': 'leak_i_bias', 'translated_name': 'leak_i_bias'}, 'leak_v_leak': {'forward_transform': 'leak_v_leak', 'reverse_transform': 'leak_v_leak', 'translated_name': 'leak_v_leak'}, 'membrane_capacitance_capacitance': {'forward_transform': 'membrane_capacitance_capacitance', 'reverse_transform': 'membrane_capacitance_capacitance', 'translated_name': 'membrane_capacitance_capacitance'}, 'multicompartment_connect_right': {'forward_transform': 'multicompartment_connect_right', 'reverse_transform': 'multicompartment_connect_right', 'translated_name': 'multicompartment_connect_right'}, 'multicompartment_connect_soma': {'forward_transform': 'multicompartment_connect_soma', 'reverse_transform': 'multicompartment_connect_soma', 'translated_name': 'multicompartment_connect_soma'}, 'multicompartment_connect_soma_right': {'forward_transform': 'multicompartment_connect_soma_right', 'reverse_transform': 'multicompartment_connect_soma_right', 'translated_name': 'multicompartment_connect_soma_right'}, 'multicompartment_connect_vertical': {'forward_transform': 'multicompartment_connect_vertical', 'reverse_transform': 'multicompartment_connect_vertical', 'translated_name': 'multicompartment_connect_vertical'}, 'multicompartment_enable_conductance': {'forward_transform': 'multicompartment_enable_conductance', 'reverse_transform': 'multicompartment_enable_conductance', 'translated_name': 'multicompartment_enable_conductance'}, 'multicompartment_enable_conductance_division': {'forward_transform': 'multicompartment_enable_conductance_division', 'reverse_transform': 'multicompartment_enable_conductance_division', 'translated_name': 'multicompartment_enable_conductance_division'}, 'multicompartment_enable_conductance_multiplication': {'forward_transform': 'multicompartment_enable_conductance_multiplication', 'reverse_transform': 'multicompartment_enable_conductance_multiplication', 'translated_name': 'multicompartment_enable_conductance_multiplication'}, 'multicompartment_i_bias_nmda': {'forward_transform': 'multicompartment_i_bias_nmda', 'reverse_transform': 'multicompartment_i_bias_nmda', 'translated_name': 'multicompartment_i_bias_nmda'}, 'plasticity_rule_enable_readout_source': {'forward_transform': 'plasticity_rule_enable_readout_source', 'reverse_transform': 'plasticity_rule_enable_readout_source', 'translated_name': 'plasticity_rule_enable_readout_source'}, 'plasticity_rule_readout_source': {'forward_transform': 'plasticity_rule_readout_source', 'reverse_transform': 'plasticity_rule_readout_source', 'translated_name': 'plasticity_rule_readout_source'}, 'readout_enable_unbuffered_access': {'forward_transform': 'readout_enable_unbuffered_access', 'reverse_transform': 'readout_enable_unbuffered_access', 'translated_name': 'readout_enable_unbuffered_access'}, 'refractory_period_enable_pause': {'forward_transform': 'refractory_period_enable_pause', 'reverse_transform': 'refractory_period_enable_pause', 'translated_name': 'refractory_period_enable_pause'}, 'refractory_period_input_clock': {'forward_transform': 'refractory_period_input_clock', 'reverse_transform': 'refractory_period_input_clock', 'translated_name': 'refractory_period_input_clock'}, 'refractory_period_refractory_time': {'forward_transform': 'refractory_period_refractory_time', 'reverse_transform': 'refractory_period_refractory_time', 'translated_name': 'refractory_period_refractory_time'}, 'refractory_period_reset_holdoff': {'forward_transform': 'refractory_period_reset_holdoff', 'reverse_transform': 'refractory_period_reset_holdoff', 'translated_name': 'refractory_period_reset_holdoff'}, 'reset_enable_degeneration': {'forward_transform': 'reset_enable_degeneration', 'reverse_transform': 'reset_enable_degeneration', 'translated_name': 'reset_enable_degeneration'}, 'reset_enable_division': {'forward_transform': 'reset_enable_division', 'reverse_transform': 'reset_enable_division', 'translated_name': 'reset_enable_division'}, 'reset_enable_multiplication': {'forward_transform': 'reset_enable_multiplication', 'reverse_transform': 'reset_enable_multiplication', 'translated_name': 'reset_enable_multiplication'}, 'reset_i_bias': {'forward_transform': 'reset_i_bias', 'reverse_transform': 'reset_i_bias', 'translated_name': 'reset_i_bias'}, 'reset_v_reset': {'forward_transform': 'reset_v_reset', 'reverse_transform': 'reset_v_reset', 'translated_name': 'reset_v_reset'}, 'threshold_enable': {'forward_transform': 'threshold_enable', 'reverse_transform': 'threshold_enable', 'translated_name': 'threshold_enable'}, 'threshold_v_threshold': {'forward_transform': 'threshold_v_threshold', 'reverse_transform': 'threshold_v_threshold', 'translated_name': 'threshold_v_threshold'}}
-
units
: Final[Dict[str, str]] = {'adaptation': 'dimensionless', 'exc_synin': 'dimensionless', 'inh_synin': 'dimensionless', 'plasticity_rule_enable_readout_source': 'dimensionless', 'plasticity_rule_readout_source': 'dimensionless', 'v': 'dimensionless'}