23 #ifndef IAF_PSC_DELTA_H
24 #define IAF_PSC_DELTA_H
307 if (receptor_type != 0)
315 if (receptor_type != 0)
324 if (receptor_type != 0)
342 const double delta_EL = ptmp.
set(d);
344 stmp.
set(d, ptmp, delta_EL);
const Name recordables("recordables")
List of recordable state data (Device parameters)
Definition: nest_names.h:244
int int_t
Integer number with at least 16 bit.
Definition: nest.h:95
Definition of Archiving_Node which is capable of recording and managing a spike history.
State_ S_
Definition: iaf_psc_delta.h:286
double_t y0_
Definition: iaf_psc_delta.h:218
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: iaf_psc_delta.h:305
UniversalDataLogger< iaf_psc_delta > logger_
Logger for all analog data.
Definition: iaf_psc_delta.h:254
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
static RecordablesMap< iaf_psc_delta > recordablesMap_
Mapping of recordables names to access functions.
Definition: iaf_psc_delta.h:292
double_t E_L_
Resting potential in mV.
Definition: iaf_psc_delta.h:184
bool with_refr_input_
spikes arriving during refractory period are counted
Definition: iaf_psc_delta.h:200
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
RingBuffer spikes_
buffers and summs up incoming spikes/currents
Definition: iaf_psc_delta.h:250
double_t P30_
Definition: iaf_psc_delta.h:264
double_t V_reset_
reset value of the membrane potential
Definition: iaf_psc_delta.h:198
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: iaf_psc_delta.h:297
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: iaf_psc_delta.cpp:82
Buffers_ B_
Definition: iaf_psc_delta.h:288
Buffers_(iaf_psc_delta &)
Definition: iaf_psc_delta.cpp:152
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
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: iaf_psc_delta.cpp:190
double_t t_ref_
Refractory period in ms.
Definition: iaf_psc_delta.h:181
void set_status(const DictionaryDatum &)
Definition: iaf_psc_delta.h:339
double_t get_V_m_() const
Read out the real membrane potential.
Definition: iaf_psc_delta.h:274
double set(const DictionaryDatum &)
Set values from dictionary.
Definition: iaf_psc_delta.cpp:95
RingBuffer currents_
Definition: iaf_psc_delta.h:251
Leaky integrate-and-fire neuron with delta-shaped PSCs.
Definition: iaf_psc_delta.h:127
Variables_ V_
Definition: iaf_psc_delta.h:287
State variables of the model.
Definition: iaf_psc_delta.h:217
Map names of recordables to data access functions.
Definition: recordables_map.h:58
Definition: nest_time.h:130
void get(DictionaryDatum &, const Parameters_ &) const
Definition: iaf_psc_delta.cpp:139
friend class UniversalDataLogger< iaf_psc_delta >
Definition: iaf_psc_delta.h:166
State_()
Default initialization.
Definition: iaf_psc_delta.cpp:71
std::string get_name() const
Return class name.
Definition: node.cpp:83
void set(const DictionaryDatum &, const Parameters_ &, double)
Set values from dictionary.
Definition: iaf_psc_delta.cpp:144
double_t refr_spikes_buffer_
Accumulate spikes arriving during refractory period, discounted for decay until end of refractory per...
Definition: iaf_psc_delta.h:226
void set_status(const DictionaryDatum &d)
Definition: archiving_node.cpp:185
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
Internal variables of the model.
Definition: iaf_psc_delta.h:262
double_t V_th_
Threshold, RELATIVE TO RESTING POTENTAIL(!).
Definition: iaf_psc_delta.h:191
Buffers of the model.
Definition: iaf_psc_delta.h:245
double_t y3_
This is the membrane potential RELATIVE TO RESTING POTENTIAL.
Definition: iaf_psc_delta.h:219
void calibrate()
Re-calculate dependent parameters of the node.
Definition: iaf_psc_delta.cpp:198
Parameters_ P_
Definition: iaf_psc_delta.h:285
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
void get_status(DictionaryDatum &) const
Definition: iaf_psc_delta.h:330
double_t P33_
Definition: iaf_psc_delta.h:265
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
double_t c_m_
Membrane capacitance in pF.
Definition: iaf_psc_delta.h:178
double_t tau_m_
Membrane time constant in ms.
Definition: iaf_psc_delta.h:175
iaf_psc_delta()
Definition: iaf_psc_delta.cpp:164
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
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: iaf_psc_delta.cpp:238
Request data to be logged/logged data to be sent.
Definition: event.h:486
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: iaf_psc_delta.cpp:297
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
int_t r_
Number of refractory steps remaining.
Definition: iaf_psc_delta.h:221
int_t RefractoryCounts_
Definition: iaf_psc_delta.h:267
double_t I_e_
External DC current.
Definition: iaf_psc_delta.h:187
void init_state_(const Node &proto)
Private function to initialize the state of a node to model defaults.
Definition: iaf_psc_delta.cpp:184
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
Base class for all NEST network objects.
Definition: node.h:96
Parameters_()
Sets default parameter values.
Definition: iaf_psc_delta.cpp:58
double_t V_min_
Lower bound, RELATIVE TO RESTING POTENTAIL(!).
Definition: iaf_psc_delta.h:195
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62
Buffer Layout.
Definition: ring_buffer.h:77
Independent parameters of the model.
Definition: iaf_psc_delta.h:173