23#ifndef IAF_PSC_ALPHA_H
24#define IAF_PSC_ALPHA_H
410 e.set_sender( *
this );
411 return target.handles_test_event( e, receptor_type );
417 if ( receptor_type != 0 )
427 if ( receptor_type != 0 )
437 if ( receptor_type != 0 )
458 const double delta_EL = ptmp.
set( d,
this );
460 stmp.
set( d, ptmp, delta_EL,
this );
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
A node which archives spike history for the purposes of spike-timing dependent plasticity (STDP)
Definition archiving_node.h:49
void get_status(Dictionary &d) const override
Export properties of the node by setting entries in the status dictionary.
Definition archiving_node.cpp:220
void set_status(const Dictionary &d) override
Change properties of the node according to the entries in the dictionary.
Definition archiving_node.cpp:236
Event for electrical currents.
Definition event.h:569
Request data to be logged/logged data to be sent.
Definition event.h:636
Base class for all NEST network objects.
Definition node.h:99
std::string get_name() const
Return class name.
Definition node.cpp:105
Map names of recordables to data access functions.
Definition recordables_map.h:61
Event for spike information.
Definition event.h:418
Definition nest_time.h:135
Exception to be thrown if the specified receptor type does not exist in the node.
Definition exceptions.h:417
Definition iaf_psc_alpha.h:203
static RecordablesMap< iaf_psc_alpha > recordablesMap_
Mapping of recordables names to access functions.
Definition iaf_psc_alpha.h:403
Variables_ V_
Definition iaf_psc_alpha.h:398
double get_I_syn_ex_() const
Definition iaf_psc_alpha.h:377
size_t handles_test_event(SpikeEvent &, size_t) override
Check if the node can handle a particular event and receptor type.
Definition iaf_psc_alpha.h:415
iaf_psc_alpha()
Definition iaf_psc_alpha.cpp:216
size_t send_test_event(Node &, size_t, synindex, bool) override
Send an event to the receiving_node passed as an argument.
Definition iaf_psc_alpha.h:407
Parameters_ P_
Instances of private data structures for the different types of data pertaining to the model.
Definition iaf_psc_alpha.h:396
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition iaf_psc_alpha.h:455
void pre_run_hook() override
Re-calculate dependent parameters of the node.
Definition iaf_psc_alpha.cpp:248
Buffers_ B_
Definition iaf_psc_alpha.h:399
void handle(SpikeEvent &) override
Handle incoming spike events.
Definition iaf_psc_alpha.cpp:373
double get_V_m_() const
Read out the real membrane potential.
Definition iaf_psc_alpha.h:371
friend class UniversalDataLogger< iaf_psc_alpha >
Definition iaf_psc_alpha.h:238
void update(Time const &, const long, const long) override
Advance the state of the node in time through the given interval.
Definition iaf_psc_alpha.cpp:305
State_ S_
Definition iaf_psc_alpha.h:397
double get_I_syn_in_() const
Definition iaf_psc_alpha.h:383
void get_status(Dictionary &) const override
Export properties of the node by setting entries in the status dictionary.
Definition iaf_psc_alpha.h:445
void init_buffers_() override
Configure persistent internal data structures.
Definition iaf_psc_alpha.cpp:238
virtual size_t handles_test_event(SpikeEvent &, size_t receptor_type)
Check if the node can handle a particular event and receptor type.
Definition node.cpp:271
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition node.cpp:265
const std::string recordables("recordables")
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
void register_iaf_psc_alpha(const std::string &name)
Definition iaf_psc_alpha.cpp:44
size_t synindex
For enumerations of synapse types.
Definition nest_types.h:115
Definition iaf_psc_alpha.h:315
UniversalDataLogger< iaf_psc_alpha > logger_
Logger for all analog data.
Definition iaf_psc_alpha.h:333
@ SYN_EX
Definition iaf_psc_alpha.h:324
@ SYN_IN
Definition iaf_psc_alpha.h:323
@ I0
Definition iaf_psc_alpha.h:325
@ NUM_INPUT_CHANNELS
Definition iaf_psc_alpha.h:326
MultiChannelInputBuffer< NUM_INPUT_CHANNELS > input_buffer_
buffers and sums up incoming spikes/currents
Definition iaf_psc_alpha.h:330
Definition iaf_psc_alpha.h:243
double V_reset_
Reset value of the membrane potential.
Definition iaf_psc_alpha.h:260
double C_
Membrane capacitance in pF.
Definition iaf_psc_alpha.h:248
double TauR_
Refractory period in ms.
Definition iaf_psc_alpha.h:251
double I_e_
External current in pA.
Definition iaf_psc_alpha.h:257
void get(Dictionary &) const
Store current values in dictionary.
Definition iaf_psc_alpha.cpp:98
double tau_in_
Time constant of inhibitory synaptic current in ms.
Definition iaf_psc_alpha.h:274
double LowerBound_
Lower bound, RELATIVE TO RESTING POTENTIAL(!).
Definition iaf_psc_alpha.h:268
double Tau_
Membrane time constant in ms.
Definition iaf_psc_alpha.h:245
double Theta_
Threshold, RELATIVE TO RESTING POTENTIAL(!).
Definition iaf_psc_alpha.h:264
Parameters_()
Sets default parameter values.
Definition iaf_psc_alpha.cpp:68
double tau_ex_
Time constant of excitatory synaptic current in ms.
Definition iaf_psc_alpha.h:271
double set(const Dictionary &, Node *node)
Set values from dictionary.
Definition iaf_psc_alpha.cpp:113
double E_L_
Resting potential in mV.
Definition iaf_psc_alpha.h:254
Definition iaf_psc_alpha.h:289
State_()
Default initialization.
Definition iaf_psc_alpha.cpp:82
double dI_ex_
Definition iaf_psc_alpha.h:291
double I_in_
Definition iaf_psc_alpha.h:294
double y0_
Constant current.
Definition iaf_psc_alpha.h:290
int r_
Number of refractory steps remaining.
Definition iaf_psc_alpha.h:298
double dI_in_
Definition iaf_psc_alpha.h:293
double y3_
This is the membrane potential RELATIVE TO RESTING POTENTIAL.
Definition iaf_psc_alpha.h:296
double I_ex_
Definition iaf_psc_alpha.h:292
void set(const Dictionary &, const Parameters_ &, double, Node *node)
Set values from dictionary.
Definition iaf_psc_alpha.cpp:189
void get(Dictionary &, const Parameters_ &) const
Definition iaf_psc_alpha.cpp:183
Definition iaf_psc_alpha.h:339
double P11_in_
Definition iaf_psc_alpha.h:354
double P32_in_
Definition iaf_psc_alpha.h:358
double P21_ex_
Definition iaf_psc_alpha.h:350
double P22_ex_
Definition iaf_psc_alpha.h:351
double weighted_spikes_in_
Definition iaf_psc_alpha.h:364
double P30_
Definition iaf_psc_alpha.h:359
double IPSCInitialValue_
Definition iaf_psc_alpha.h:346
double P31_in_
Definition iaf_psc_alpha.h:357
double EPSCInitialValue_
Amplitude of the synaptic current.
Definition iaf_psc_alpha.h:345
double P22_in_
Definition iaf_psc_alpha.h:356
double P21_in_
Definition iaf_psc_alpha.h:355
double P31_ex_
Definition iaf_psc_alpha.h:352
double P32_ex_
Definition iaf_psc_alpha.h:353
double expm1_tau_m_
Definition iaf_psc_alpha.h:361
int RefractoryCounts_
Definition iaf_psc_alpha.h:347
double P33_
Definition iaf_psc_alpha.h:360
double weighted_spikes_ex_
Definition iaf_psc_alpha.h:363
double P11_ex_
Definition iaf_psc_alpha.h:349