Base class to all neuron types. More...
#include <Neuron.h>
Public Member Functions | |
Neuron () | |
Constructor. | |
virtual | ~Neuron () |
Destructor. | |
virtual void | updatePSR (double psr, double psr_diff, Time time) |
Triggered when the PSP of an active input synapse changes. | |
virtual void | updatePSRSlope (double psr_slope, double prs_slope_diff, Time time) |
Triggered when the PSP slope of an active input synapse changes. | |
virtual unsigned | registerInputSynapse (EvSimObject *input_synapse) |
Triggered when a input synapse is mounted to the neuron. | |
virtual bool | requiresActiveSynapse () |
Returns true if the neuron type requires active input synapses. |
Base class to all neuron types.
Provides the interface for updating the membrane potential triggered by synapses mounted to the neuron.
virtual void Neuron::updatePSR | ( | double | psr, | |
double | psr_diff, | |||
Time | time | |||
) | [inline, virtual] |
Triggered when the PSP of an active input synapse changes.
Reports a jump of the PSP of an input synapse
psr | The new value of the postsynaptic response | |
psr_diff | Recent change of the postsynaptic response | |
time | The simulation time at which the change occurred |
virtual void Neuron::updatePSRSlope | ( | double | psr_slope, | |
double | prs_slope_diff, | |||
Time | time | |||
) | [inline, virtual] |
Triggered when the PSP slope of an active input synapse changes.
Reports a change of the PSP slope (derivative of the PSP amplitude) of an input synapse
psr_slope | The new value of the slope | |
psr_slope_diff | Recent change of the slope | |
time | The simulation time at which the change occurred |