23 #ifndef IAF_PSC_ALPHA_H
24 #define IAF_PSC_ALPHA_H
332 if (receptor_type != 0)
340 if (receptor_type != 0)
349 if (receptor_type != 0)
368 const double delta_EL = ptmp.
set(d);
370 stmp.
set(d, ptmp, delta_EL);
const Name recordables("recordables")
List of recordable state data (Device parameters)
Definition: nest_names.h:244
double_t P21_in_
Definition: iaf_psc_alpha.h:278
Buffers_ B_
Definition: iaf_psc_alpha.h:314
double_t get_weighted_spikes_ex_() const
Definition: iaf_psc_alpha.h:297
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: iaf_psc_alpha.cpp:271
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.
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
double_t get_weighted_spikes_in_() const
Definition: iaf_psc_alpha.h:298
double_t IPSCInitialValue_
Definition: iaf_psc_alpha.h:269
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: iaf_psc_alpha.h:330
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
double_t P32_in_
Definition: iaf_psc_alpha.h:281
State_ S_
Definition: iaf_psc_alpha.h:312
void calibrate()
Re-calculate dependent parameters of the node.
Definition: iaf_psc_alpha.cpp:213
Definition: iaf_psc_alpha.h:245
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
State_()
Default initialization.
Definition: iaf_psc_alpha.cpp:72
double_t Theta_
Threshold, RELATIVE TO RESTING POTENTIAL(!).
Definition: iaf_psc_alpha.h:194
double_t TauR_
Refractory period in ms.
Definition: iaf_psc_alpha.h:181
double_t LowerBound_
Lower bound, RELATIVE TO RESTING POTENTIAL(!).
Definition: iaf_psc_alpha.h:198
RingBuffer currents_
Definition: iaf_psc_alpha.h:253
double_t P30_
Definition: iaf_psc_alpha.h:282
static RecordablesMap< iaf_psc_alpha > recordablesMap_
Mapping of recordables names to access functions.
Definition: iaf_psc_alpha.h:318
double_t y0_
Constant current.
Definition: iaf_psc_alpha.h:221
Event for electrical currents.
Definition: event.h:420
void set(const DictionaryDatum &, const Parameters_ &, double)
Set values from dictionary.
Definition: iaf_psc_alpha.cpp:155
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
double_t U0_
Resting potential in mV.
Definition: iaf_psc_alpha.h:184
double set(const DictionaryDatum &)
Set values from dictionary.
Definition: iaf_psc_alpha.cpp:100
double_t V_reset_
Reset value of the membrane potential.
Definition: iaf_psc_alpha.h:190
double_t P22_ex_
Definition: iaf_psc_alpha.h:274
double_t I_e_
External current in pA.
Definition: iaf_psc_alpha.h:187
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: iaf_psc_alpha.cpp:86
double_t y2_in_
Definition: iaf_psc_alpha.h:225
double_t P21_ex_
Definition: iaf_psc_alpha.h:273
double_t P32_ex_
Definition: iaf_psc_alpha.h:276
Definition: iaf_psc_alpha.h:262
Map names of recordables to data access functions.
Definition: recordables_map.h:58
Parameters_ P_
Definition: iaf_psc_alpha.h:311
Definition: nest_time.h:130
double_t weighted_spikes_in_
Definition: iaf_psc_alpha.h:287
double_t y1_ex_
Definition: iaf_psc_alpha.h:222
double_t P11_in_
Definition: iaf_psc_alpha.h:277
std::string get_name() const
Return class name.
Definition: node.cpp:83
double_t P22_in_
Definition: iaf_psc_alpha.h:279
double_t y3_
This is the membrane potential RELATIVE TO RESTING POTENTIAL.
Definition: iaf_psc_alpha.h:226
void set_status(const DictionaryDatum &d)
Definition: archiving_node.cpp:185
Leaky integrate-and-fire neuron with alpha-shaped PSCs.
Definition: iaf_psc_alpha.h:130
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
double_t get_input_currents_ex_() const
Definition: iaf_psc_alpha.h:299
double_t P11_ex_
Definition: iaf_psc_alpha.h:272
int_t RefractoryCounts_
Definition: iaf_psc_alpha.h:270
double_t get_V_m_() const
Read out the real membrane potential.
Definition: iaf_psc_alpha.h:295
RingBuffer in_spikes_
Definition: iaf_psc_alpha.h:252
double_t P33_
Definition: iaf_psc_alpha.h:283
double_t get_input_currents_in_() const
Definition: iaf_psc_alpha.h:300
void init_state_(const Node &proto)
Private function to initialize the state of a node to model defaults.
Definition: iaf_psc_alpha.cpp:196
double_t C_
Membrane capacitance in pF.
Definition: iaf_psc_alpha.h:178
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
friend class UniversalDataLogger< iaf_psc_alpha >
Definition: iaf_psc_alpha.h:168
double_t y2_ex_
Definition: iaf_psc_alpha.h:223
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
double_t EPSCInitialValue_
Amplitude of the synaptic current.
Definition: iaf_psc_alpha.h:268
double_t tau_ex_
Time constant of excitatory synaptic current in ms.
Definition: iaf_psc_alpha.h:201
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
iaf_psc_alpha()
Definition: iaf_psc_alpha.cpp:176
Request data to be logged/logged data to be sent.
Definition: event.h:486
int_t r_
Number of refractory steps remaining.
Definition: iaf_psc_alpha.h:228
double_t Tau_
Membrane time constant in ms.
Definition: iaf_psc_alpha.h:175
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
Buffers_(iaf_psc_alpha &)
Definition: iaf_psc_alpha.cpp:163
Default types used by the NEST kernel.
void get_status(DictionaryDatum &d) const
Definition: archiving_node.cpp:175
Variables_ V_
Definition: iaf_psc_alpha.h:313
Event for spike information.
Definition: event.h:320
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: iaf_psc_alpha.h:322
Base class for all NEST network objects.
Definition: node.h:96
double_t P31_ex_
Definition: iaf_psc_alpha.h:275
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: iaf_psc_alpha.cpp:332
double_t tau_in_
Time constant of inhibitory synaptic current in ms.
Definition: iaf_psc_alpha.h:204
Definition: iaf_psc_alpha.h:172
double_t y1_in_
Definition: iaf_psc_alpha.h:224
double_t P31_in_
Definition: iaf_psc_alpha.h:280
Parameters_()
Sets default parameter values.
Definition: iaf_psc_alpha.cpp:59
RingBuffer ex_spikes_
buffers and summs up incoming spikes/currents
Definition: iaf_psc_alpha.h:251
double_t expm1_tau_m_
Definition: iaf_psc_alpha.h:284
Definition: iaf_psc_alpha.h:219
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
void get_status(DictionaryDatum &) const
Definition: iaf_psc_alpha.h:355
const double e
Definition: numerics.cpp:62
UniversalDataLogger< iaf_psc_alpha > logger_
Logger for all analog data.
Definition: iaf_psc_alpha.h:256
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: iaf_psc_alpha.cpp:202
double_t weighted_spikes_ex_
Definition: iaf_psc_alpha.h:286
Buffer Layout.
Definition: ring_buffer.h:77
void set_status(const DictionaryDatum &)
Definition: iaf_psc_alpha.h:365
void get(DictionaryDatum &, const Parameters_ &) const
Definition: iaf_psc_alpha.cpp:150