python_models8.neuron.threshold_types package

Submodules

python_models8.neuron.threshold_types.my_threshold_type module

class python_models8.neuron.threshold_types.my_threshold_type.MyThresholdType(threshold_value, my_threshold_parameter)[source]

Bases: AbstractThresholdType

A threshold that is a static value.

Parameters:
  • structs (list(Struct)) – The structures of the component

  • units (dict) – The units to use for each parameter

add_parameters(parameters)[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)[source]

Add the initial values of the state variables to the state variables holder.

Parameters:

state_variables (RangeDictionary) – A holder of the state variables

property my_threshold_parameter
property threshold_value

Module contents