Public Member Functions | |
IZNeuron (const double &a=0.15, const double &b=8.0, const double &c=-55.0, const double &d=200.0, const double &k=1.0, const double &Cm=20.0, const double &V_rest=-55.0, const double &V_thresh=-40.0, const double &V_peak=25.0, const std::string &name="Neuron", const std::string &units="spike") | |
Constructor with default params. | |
~IZNeuron () | |
destructor | |
void | setV (const double &voltage) |
set the voltage (or other state value) | |
const double | getDisplayOutput () const |
get the output for display purposes, the membrane voltage | |
const uint | numSubs () const |
get the number of sub units | |
const SimUnit & | getSub (const uint i) const |
get sub unit | |
const double | getV () const |
get the current voltage (mV) | |
const double | getI () const |
get the current current (pA) | |
void | setI (const double ¤t) |
set an external current. | |
const IZNeuron & | setup (const std::string &name, const bool use_random=false) |
setup the neuron and its parameters | |
Protected Member Functions | |
SimUnit & | editSub (const uint i) |
get the sub, unit mutable version |
Definition at line 123 of file IZNeuron.H.
IZNeuron::IZNeuron | ( | const double & | a = 0.15 , |
|
const double & | b = 8.0 , |
|||
const double & | c = -55.0 , |
|||
const double & | d = 200.0 , |
|||
const double & | k = 1.0 , |
|||
const double & | Cm = 20.0 , |
|||
const double & | V_rest = -55.0 , |
|||
const double & | V_thresh = -40.0 , |
|||
const double & | V_peak = 25.0 , |
|||
const std::string & | name = "Neuron" , |
|||
const std::string & | units = "spike" | |||
) |
Constructor with default params.
Definition at line 127 of file IZNeuron.C.
IZNeuron::~IZNeuron | ( | ) | [inline] |
destructor
Definition at line 140 of file IZNeuron.H.
get the sub, unit mutable version
Reimplemented from SimUnit.
Definition at line 177 of file IZNeuron.C.
const double IZNeuron::getDisplayOutput | ( | ) | const [virtual] |
get the output for display purposes, the membrane voltage
Reimplemented from SimUnit.
Definition at line 146 of file IZNeuron.C.
References getV().
const double IZNeuron::getI | ( | ) | const |
get the current current (pA)
Definition at line 202 of file IZNeuron.C.
References IZNeuronFunc::getCurrent().
const double IZNeuron::getV | ( | ) | const |
get the current voltage (mV)
Definition at line 196 of file IZNeuron.C.
References IZNeuronFunc::getV().
Referenced by getDisplayOutput().
const uint IZNeuron::numSubs | ( | ) | const [virtual] |
void IZNeuron::setI | ( | const double & | current | ) |
set an external current.
Definition at line 208 of file IZNeuron.C.
const IZNeuron & IZNeuron::setup | ( | const std::string & | name, | |
const bool | use_random = false | |||
) |
setup the neuron and its parameters
Definition at line 214 of file IZNeuron.C.
References SimUnit::getName(), SimUnit::setName(), and IZNeuronFunc::setup().
void IZNeuron::setV | ( | const double & | in | ) | [virtual] |
set the voltage (or other state value)
Reimplemented from SimUnit.
Definition at line 140 of file IZNeuron.C.
References IZNeuronFunc::setV().