23#ifndef IAF_PSC_ALPHA_H
24#define IAF_PSC_ALPHA_H
390 return S_.y3_ +
P_.E_L_;
427 e.set_sender( *
this );
428 return target.handles_test_event( e, receptor_type );
434 if ( receptor_type != 0 )
444 if ( receptor_type != 0 )
454 if ( receptor_type != 0 )
464 if ( receptor_type != 0 )
485 const double delta_EL = ptmp.
set( d,
this );
487 stmp.
set( d, ptmp, delta_EL,
this );
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
ArchivingNode()
Definition archiving_node.cpp:37
void get_status(Dictionary &d) const override
Export properties of the node by setting entries in the status dictionary.
Definition archiving_node.cpp:249
void set_status(const Dictionary &d) override
Change properties of the node according to the entries in the dictionary.
Definition archiving_node.cpp:265
Event for electrical currents.
Definition event.h:608
Request data to be logged/logged data to be sent.
Definition event.h:675
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:420
Definition nest_time.h:135
Exception to be thrown if the specified receptor type does not exist in the node.
Definition exceptions.h:417
static RecordablesMap< iaf_psc_alpha > recordablesMap_
Mapping of recordables names to access functions.
Definition iaf_psc_alpha.h:420
Variables_ V_
Definition iaf_psc_alpha.h:415
double get_I_syn_ex_() const
Definition iaf_psc_alpha.h:394
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:432
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:424
Parameters_ P_
Instances of private data structures for the different types of data pertaining to the model.
Definition iaf_psc_alpha.h:413
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition iaf_psc_alpha.h:482
friend class RecordablesMap< iaf_psc_alpha >
Definition iaf_psc_alpha.h:254
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:416
void handle(SpikeEvent &) override
Handle incoming spike events.
Definition iaf_psc_alpha.cpp:377
double get_V_m_() const
Read out the real membrane potential.
Definition iaf_psc_alpha.h:388
friend class UniversalDataLogger< iaf_psc_alpha >
Definition iaf_psc_alpha.h:255
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:307
State_ S_
Definition iaf_psc_alpha.h:414
double get_I_syn_in_() const
Definition iaf_psc_alpha.h:400
void get_status(Dictionary &) const override
Export properties of the node by setting entries in the status dictionary.
Definition iaf_psc_alpha.h:472
bool supports_axonal_delay_corrections() const override
Whether this model can be the target of a synapse with predominantly axonal delay.
Definition iaf_psc_alpha.h:230
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:282
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition node.cpp:271
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:121
Definition iaf_psc_alpha.h:332
Buffers_(iaf_psc_alpha &)
Definition iaf_psc_alpha.cpp:201
UniversalDataLogger< iaf_psc_alpha > logger_
Logger for all analog data.
Definition iaf_psc_alpha.h:350
@ SYN_EX
Definition iaf_psc_alpha.h:341
@ SYN_IN
Definition iaf_psc_alpha.h:340
@ I0
Definition iaf_psc_alpha.h:342
@ NUM_INPUT_CHANNELS
Definition iaf_psc_alpha.h:343
MultiChannelInputBuffer< NUM_INPUT_CHANNELS > input_buffer_
buffers and sums up incoming spikes/currents
Definition iaf_psc_alpha.h:347
Definition iaf_psc_alpha.h:260
double V_reset_
Reset value of the membrane potential.
Definition iaf_psc_alpha.h:277
double C_
Membrane capacitance in pF.
Definition iaf_psc_alpha.h:265
double TauR_
Refractory period in ms.
Definition iaf_psc_alpha.h:268
double I_e_
External current in pA.
Definition iaf_psc_alpha.h:274
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:291
double LowerBound_
Lower bound, RELATIVE TO RESTING POTENTIAL(!).
Definition iaf_psc_alpha.h:285
double Tau_
Membrane time constant in ms.
Definition iaf_psc_alpha.h:262
double Theta_
Threshold, RELATIVE TO RESTING POTENTIAL(!).
Definition iaf_psc_alpha.h:281
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:288
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:271
Definition iaf_psc_alpha.h:306
State_()
Default initialization.
Definition iaf_psc_alpha.cpp:82
double dI_ex_
Definition iaf_psc_alpha.h:308
double I_in_
Definition iaf_psc_alpha.h:311
double y0_
Constant current.
Definition iaf_psc_alpha.h:307
int r_
Number of refractory steps remaining.
Definition iaf_psc_alpha.h:315
double dI_in_
Definition iaf_psc_alpha.h:310
double y3_
This is the membrane potential RELATIVE TO RESTING POTENTIAL.
Definition iaf_psc_alpha.h:313
double I_ex_
Definition iaf_psc_alpha.h:309
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:356
double P11_in_
Definition iaf_psc_alpha.h:371
double P32_in_
Definition iaf_psc_alpha.h:375
double P21_ex_
Definition iaf_psc_alpha.h:367
double P22_ex_
Definition iaf_psc_alpha.h:368
double weighted_spikes_in_
Definition iaf_psc_alpha.h:381
double P30_
Definition iaf_psc_alpha.h:376
double IPSCInitialValue_
Definition iaf_psc_alpha.h:363
double P31_in_
Definition iaf_psc_alpha.h:374
double EPSCInitialValue_
Amplitude of the synaptic current.
Definition iaf_psc_alpha.h:362
double P22_in_
Definition iaf_psc_alpha.h:373
double P21_in_
Definition iaf_psc_alpha.h:372
double P31_ex_
Definition iaf_psc_alpha.h:369
double P32_ex_
Definition iaf_psc_alpha.h:370
double expm1_tau_m_
Definition iaf_psc_alpha.h:378
int RefractoryCounts_
Definition iaf_psc_alpha.h:364
double P33_
Definition iaf_psc_alpha.h:377
double weighted_spikes_ex_
Definition iaf_psc_alpha.h:380
double P11_ex_
Definition iaf_psc_alpha.h:366