python_models8.neuron.implementations package¶
Submodules¶
python_models8.neuron.implementations.my_full_neuron_impl module¶
- class python_models8.neuron.implementations.my_full_neuron_impl.MyFullNeuronImpl(threshold, v, exc_input, inh_input)[source]¶
Bases:
AbstractNeuronImpl- add_parameters(parameters: RangeDictionary) None[source]¶
Add the initial values of the parameters to the parameter holder.
- Parameters:
parameters (RangeDictionary) – A holder of the parameters
- add_state_variables(state_variables: RangeDictionary) None[source]¶
Add the initial values of the state variables to the state variables holder.
- Parameters:
state_variables (RangeDictionary) – A holder of the state variables
- get_global_weight_scale() float[source]¶
Get the weight scaling required by this model.
- Return type:
- get_n_synapse_types() int[source]¶
Get the number of synapse types supported by the model.
- Return type:
- get_recordable_data_types() Mapping[str, DataType][source]¶
Get the data type of the variables that can be recorded.
- get_recordable_units(variable: str) str[source]¶
Get the units of the given variable that can be recorded.
- Parameters:
variable (str) – The name of the variable
- get_recordable_variable_index(variable: str) int[source]¶
Get the index of the variable in the list of variables that can be recorded.
- get_recordable_variables() List[str][source]¶
Get the names of the variables that can be recorded in this model.