216 if (receptor_type != 0)
224 if (receptor_type != 0)
233 if (receptor_type != 0)
263 for ( TokenMap::const_iterator it = d->begin();it != d->end(); ++it)
265 state_->insert(it->first, it->second);
266 it->second.set_access_flag();
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: sli_neuron.h:204
const Name recordables("recordables")
List of recordable state data (Device parameters)
Definition: nest_names.h:244
const Name V_m("V_m")
Membrane potential.
Definition: nest_names.h:331
DictionaryDatum get_status_dict_()
Return a new dictionary datum .
Definition: sli_neuron.h:240
Definition of Archiving_Node which is capable of recording and managing a spike history.
void get_status(DictionaryDatum &) const
Definition: sli_neuron.h:246
void init_state_(const Node &proto)
Private function to initialize the state of a node to model defaults.
Definition: sli_neuron.cpp:89
Token * in_spikes_t
number of excitatory spikes during the time slice
Definition: sli_neuron.h:188
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Token * update_t
points to update
Definition: sli_neuron.h:186
void set_status(const DictionaryDatum &)
Definition: sli_neuron.h:256
double_t get_V_m_() const
Read out the real membrane potential.
Definition: sli_neuron.h:162
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: sli_neuron.cpp:187
Token * spike_t
Definition: sli_neuron.h:193
Buffers of the model.
Definition: sli_neuron.h:145
Event for electrical currents.
Definition: event.h:420
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
static RecordablesMap< sli_neuron > recordablesMap_
Mapping of recordables names to access functions.
Definition: sli_neuron.h:197
Buffers_(sli_neuron &)
Definition: sli_neuron.cpp:54
friend class UniversalDataLogger< sli_neuron >
Definition: sli_neuron.h:138
Map names of recordables to data access functions.
Definition: recordables_map.h:58
Token * last_spike_t
time of last spike
Definition: sli_neuron.h:191
Definition: nest_time.h:130
std::string get_name() const
Return class name.
Definition: node.cpp:83
RingBuffer currents_
Definition: sli_neuron.h:152
void set_status(const DictionaryDatum &d)
Definition: archiving_node.cpp:185
sli_neuron()
Definition: sli_neuron.cpp:66
DictionaryDatum state_
Definition: sli_neuron.h:180
Exception to be thrown if the specified receptor type does not exist in the node. ...
Definition: exceptions.h:254
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
neuron with state and dynamics defined as SLI code
Definition: sli_neuron.h:93
double getValue< double >(const Token &t)
Definition: tokenutils.cc:68
void calibrate()
Re-calculate dependent parameters of the node.
Definition: sli_neuron.cpp:106
a node which archives spike history for the purposes of timing dependent plasticity ...
Definition: archiving_node.h:50
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
double double_t
Double precision floating point numbers.
Definition: nest.h:93
virtual port handles_test_event(SpikeEvent &, rport receptor_type)
Check if the node can handle a particular event and receptor type.
Definition: node.cpp:203
RingBuffer ex_spikes_
buffers and summs up incoming spikes/currents
Definition: sli_neuron.h:150
Request data to be logged/logged data to be sent.
Definition: event.h:486
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: sli_neuron.h:214
Token * currents_t
external current
Definition: sli_neuron.h:190
Default types used by the NEST kernel.
void get_status(DictionaryDatum &d) const
Definition: archiving_node.cpp:175
Event for spike information.
Definition: event.h:320
Buffers_ B_
Definition: sli_neuron.h:194
Base class for all NEST network objects.
Definition: node.h:96
Token * vm_t
These are pointers into the status dictionary and must be updated in calibrate.
Definition: sli_neuron.h:185
Token * calibrate_t
points to calibrate
Definition: sli_neuron.h:187
RingBuffer in_spikes_
Definition: sli_neuron.h:151
A type-independent container for C++-types.
Definition: token.h:68
Token * ex_spikes_t
number of inhibitory spikes during the sime slice
Definition: sli_neuron.h:189
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: sli_neuron.cpp:143
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62
void set(const DictionaryDatum &)
Set values from dicitonary.
UniversalDataLogger< sli_neuron > logger_
Logger for all analog data.
Definition: sli_neuron.h:156
Buffer Layout.
Definition: ring_buffer.h:77
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: sli_neuron.cpp:95
Token * out_events_t
Events produced by the neuron.
Definition: sli_neuron.h:192