291 void update(
const Time&,
const long,
const long )
override;
442 return S_.V_m_ +
P_.E_L_;
480 e.set_sender( *
this );
481 return target.handles_test_event( e, receptor_type );
487 if ( receptor_type != 0 )
497 if ( receptor_type != 0 )
507 if ( receptor_type == 0 )
511 else if ( receptor_type == 1 )
524 if ( receptor_type != 0 )
545 const double delta_EL = ptmp.
set( d,
this );
547 stmp.
set( d, ptmp, delta_EL,
this );
563 assert(
P_.delta_ > 0. );
564 return P_.rho_ * std::exp( 1. /
P_.delta_ * (
S_.V_m_ -
P_.Theta_ ) );
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
Variables_ V_
Definition iaf_psc_exp.h:467
double get_I_syn_in_() const
Definition iaf_psc_exp.h:452
friend class UniversalDataLogger< iaf_psc_exp >
Definition iaf_psc_exp.h:298
iaf_psc_exp()
Definition iaf_psc_exp.cpp:214
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_exp.h:477
bool supports_axonal_delay_corrections() const override
Whether this model can be the target of a synapse with predominantly axonal delay.
Definition iaf_psc_exp.h:270
friend class RecordablesMap< iaf_psc_exp >
Definition iaf_psc_exp.h:297
void get_status(Dictionary &) const override
Export properties of the node by setting entries in the status dictionary.
Definition iaf_psc_exp.h:532
void init_buffers_() override
Configure persistent internal data structures.
Definition iaf_psc_exp.cpp:236
Buffers_ B_
Definition iaf_psc_exp.h:468
Parameters_ P_
Instances of private data structures for the different types of data pertaining to the model.
Definition iaf_psc_exp.h:465
double get_V_m_() const
Read out the real membrane potential.
Definition iaf_psc_exp.h:440
State_ S_
Definition iaf_psc_exp.h:466
double phi_() const
Definition iaf_psc_exp.h:561
void pre_run_hook() override
Re-calculate dependent parameters of the node.
Definition iaf_psc_exp.cpp:244
void update(const Time &, const long, const long) override
Advance the state of the node in time through the given interval.
Definition iaf_psc_exp.cpp:290
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition iaf_psc_exp.h:542
static RecordablesMap< iaf_psc_exp > recordablesMap_
Mapping of recordables names to access functions.
Definition iaf_psc_exp.h:472
void handle(SpikeEvent &) override
Handle incoming spike events.
Definition iaf_psc_exp.cpp:355
double get_I_syn_ex_() const
Definition iaf_psc_exp.h:446
size_t handles_test_event(SpikeEvent &, size_t) override
Check if the node can handle a particular event and receptor type.
Definition iaf_psc_exp.h:485
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
BaseRandomGenerator * RngPtr
Definition random_generators.h:50
void register_iaf_psc_exp(const std::string &name)
The present implementation uses individual variables for the components of the state vector and the n...
Definition iaf_psc_exp.cpp:50
size_t synindex
For enumerations of synapse types.
Definition nest_types.h:121
Buffers of the model.
Definition iaf_psc_exp.h:385
@ NUM_INPUT_CHANNELS
Definition iaf_psc_exp.h:396
@ SYN_EX
Definition iaf_psc_exp.h:393
@ I0
Definition iaf_psc_exp.h:394
@ SYN_IN
Definition iaf_psc_exp.h:392
@ I1
Definition iaf_psc_exp.h:395
UniversalDataLogger< iaf_psc_exp > logger_
Logger for all analog data.
Definition iaf_psc_exp.h:403
Buffers_(iaf_psc_exp &)
Definition iaf_psc_exp.cpp:200
MultiChannelInputBuffer< NUM_INPUT_CHANNELS > input_buffer_
buffers and sums up incoming spikes/currents
Definition iaf_psc_exp.h:400
Independent parameters of the model.
Definition iaf_psc_exp.h:306
double t_ref_
Refractory period in ms.
Definition iaf_psc_exp.h:314
double delta_
Width of threshold region in mV.
Definition iaf_psc_exp.h:339
double tau_in_
Time constant of inhibitory synaptic current in ms.
Definition iaf_psc_exp.h:333
double tau_ex_
Time constant of excitatory synaptic current in ms.
Definition iaf_psc_exp.h:330
double Tau_
Membrane time constant in ms.
Definition iaf_psc_exp.h:308
Parameters_()
Sets default parameter values.
Definition iaf_psc_exp.cpp:71
double V_reset_
reset value of the membrane potential
Definition iaf_psc_exp.h:327
double E_L_
Resting potential in mV.
Definition iaf_psc_exp.h:317
double Theta_
Threshold, RELATIVE TO RESTING POTENTIAL(!).
Definition iaf_psc_exp.h:324
double C_
Membrane capacitance in pF.
Definition iaf_psc_exp.h:311
double rho_
Stochastic firing intensity at threshold in 1/s.
Definition iaf_psc_exp.h:336
double I_e_
External current in pA.
Definition iaf_psc_exp.h:320
double set(const Dictionary &, Node *node)
Set values from dictionary.
Definition iaf_psc_exp.cpp:117
void get(Dictionary &) const
Store current values in dictionary.
Definition iaf_psc_exp.cpp:101
State variables of the model.
Definition iaf_psc_exp.h:357
double i_syn_ex_
Definition iaf_psc_exp.h:361
int r_ref_
Absolute refractory counter (no membrane potential propagation).
Definition iaf_psc_exp.h:365
void set(const Dictionary &, const Parameters_ &, const double, Node *)
Set values from dictionary.
Definition iaf_psc_exp.cpp:188
double V_m_
Membrane potential.
Definition iaf_psc_exp.h:364
double i_0_
Stepwise constant input current.
Definition iaf_psc_exp.h:359
State_()
Default initialization.
Definition iaf_psc_exp.cpp:86
double i_1_
Current input that is filtered through the excitatory synapse exponential kernel.
Definition iaf_psc_exp.h:360
double i_syn_in_
Postsynaptic current for inhibitory inputs.
Definition iaf_psc_exp.h:363
void get(Dictionary &, const Parameters_ &) const
Definition iaf_psc_exp.cpp:182
Internal variables of the model.
Definition iaf_psc_exp.h:412
double P21ex_
Definition iaf_psc_exp.h:424
RngPtr rng_
random number generator of my own thread
Definition iaf_psc_exp.h:433
double weighted_spikes_ex_
Definition iaf_psc_exp.h:428
double P21in_
Definition iaf_psc_exp.h:425
double P20_
Amplitude of the synaptic current.
Definition iaf_psc_exp.h:421
double weighted_spikes_in_
Definition iaf_psc_exp.h:429
double P22_
Definition iaf_psc_exp.h:426
double P11in_
Definition iaf_psc_exp.h:423
int RefractoryCounts_
Definition iaf_psc_exp.h:431
double P11ex_
Definition iaf_psc_exp.h:422