23#ifndef IAF_PSC_EXP_PS_H
24#define IAF_PSC_EXP_PS_H
236 void update(
Time const& origin,
const long from,
const long to )
override;
261 void emit_spike_(
const Time& origin,
const long lag,
const double t0,
const double dt );
404 return S_.y2_ +
P_.E_L_;
429 e.set_sender( *
this );
430 return target.handles_test_event( e, receptor_type );
436 if ( receptor_type != 0 )
446 if ( receptor_type != 0 )
456 if ( receptor_type != 0 )
477 const double delta_EL = ptmp.
set( d,
this );
479 stmp.
set( d, ptmp, delta_EL,
this );
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
Exact integration voltage propagator for models with exponential psc.
Definition iaf_propagator.h:101
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
Buffer Layout.
Definition ring_buffer.h:83
Queue for all spikes arriving into a neuron.
Definition slice_ring_buffer.h:63
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
Parameters_ P_
Instances of private data structures for the different types of data pertaining to the model.
Definition iaf_psc_exp_ps.h:415
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_ps.h:426
IAFPropagatorExp propagator_ex_
Propagator object for updating synaptic components.
Definition iaf_psc_exp_ps.h:274
void handle(SpikeEvent &) override
Handle incoming spike events.
Definition iaf_psc_exp_ps.cpp:433
void pre_run_hook() override
Re-calculate dependent parameters of the node.
Definition iaf_psc_exp_ps.cpp:251
Variables_ V_
Definition iaf_psc_exp_ps.h:417
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_ps.h:434
double get_V_m_() const
Read out the real membrane potential.
Definition iaf_psc_exp_ps.h:402
State_ S_
Definition iaf_psc_exp_ps.h:416
iaf_psc_exp_ps()
Basic constructor.
Definition iaf_psc_exp_ps.cpp:218
friend class RecordablesMap< iaf_psc_exp_ps >
Definition iaf_psc_exp_ps.h:240
void propagate_(const double dt)
Propagate neuron state.
Definition iaf_psc_exp_ps.cpp:470
void emit_spike_(const Time &origin, const long lag, const double t0, const double dt)
Trigger iterative method to find the precise spike time within the mini-timestep (t0,...
Definition iaf_psc_exp_ps.cpp:495
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition iaf_psc_exp_ps.h:474
IAFPropagatorExp propagator_in_
Definition iaf_psc_exp_ps.h:275
Buffers_ B_
Definition iaf_psc_exp_ps.h:418
friend class UniversalDataLogger< iaf_psc_exp_ps >
Definition iaf_psc_exp_ps.h:241
double threshold_distance(double t_step) const
Based on the current state, compute the value of the membrane potential after taking a timestep of le...
Definition iaf_psc_exp_ps.cpp:542
bool is_off_grid() const override
Returns true if the node sends/receives off-grid events.
Definition iaf_psc_exp_ps.h:191
void get_status(Dictionary &) const override
Export properties of the node by setting entries in the status dictionary.
Definition iaf_psc_exp_ps.h:464
void update(Time const &origin, const long from, const long to) override
Time Evolution Operator.
Definition iaf_psc_exp_ps.cpp:279
void init_buffers_() override
Configure persistent internal data structures.
Definition iaf_psc_exp_ps.cpp:240
void emit_instant_spike_(const Time &origin, const long lag, const double spike_offset)
Instantaneously emit a spike at the precise time defined by origin, lag and spike_offset and reset th...
Definition iaf_psc_exp_ps.cpp:521
static RecordablesMap< iaf_psc_exp_ps > recordablesMap_
Mapping of recordables names to access functions.
Definition iaf_psc_exp_ps.h:422
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_exp_ps(const std::string &name)
Definition iaf_psc_exp_ps.cpp:50
size_t synindex
For enumerations of synapse types.
Definition nest_types.h:121
Buffers of the model.
Definition iaf_psc_exp_ps.h:362
Buffers_(iaf_psc_exp_ps &)
Definition iaf_psc_exp_ps.cpp:94
UniversalDataLogger< iaf_psc_exp_ps > logger_
Logger for all analog data.
Definition iaf_psc_exp_ps.h:374
SliceRingBuffer events_
Queue for incoming events.
Definition iaf_psc_exp_ps.h:370
RingBuffer currents_
Definition iaf_psc_exp_ps.h:371
Independent parameters of the model.
Definition iaf_psc_exp_ps.h:283
double tau_in_
Time constant of inh.
Definition iaf_psc_exp_ps.h:291
double U_reset_
Reset potential.
Definition iaf_psc_exp_ps.h:316
double I_e_
External DC current [pA].
Definition iaf_psc_exp_ps.h:303
double set(const Dictionary &, Node *node)
Set values from dictionary.
Definition iaf_psc_exp_ps.cpp:124
void get(Dictionary &) const
Store current values in dictionary.
Definition iaf_psc_exp_ps.cpp:109
double tau_m_
Membrane time constant in ms.
Definition iaf_psc_exp_ps.h:285
double tau_ex_
Time constant of exc.
Definition iaf_psc_exp_ps.h:288
double t_ref_
Refractory period in ms.
Definition iaf_psc_exp_ps.h:297
double c_m_
Membrane capacitance in pF.
Definition iaf_psc_exp_ps.h:294
Parameters_()
Sets default parameter values.
Definition iaf_psc_exp_ps.cpp:69
double E_L_
Resting potential in mV.
Definition iaf_psc_exp_ps.h:300
double U_th_
Threshold, RELATIVE TO RESTING POTENTIAL(!).
Definition iaf_psc_exp_ps.h:307
double U_min_
Lower bound, RELATIVE TO RESTING POTENTIAL(!).
Definition iaf_psc_exp_ps.h:311
State variables of the model.
Definition iaf_psc_exp_ps.h:334
double y1_ex_
Excitatory synaptic current.
Definition iaf_psc_exp_ps.h:336
double y0_
External input current.
Definition iaf_psc_exp_ps.h:335
long last_spike_step_
Time stamp of most recent spike.
Definition iaf_psc_exp_ps.h:341
void get(Dictionary &, const Parameters_ &) const
Definition iaf_psc_exp_ps.cpp:191
State_()
Default initialization.
Definition iaf_psc_exp_ps.cpp:83
bool is_refractory_
True while refractory.
Definition iaf_psc_exp_ps.h:340
double last_spike_offset_
Offset of most recent spike.
Definition iaf_psc_exp_ps.h:342
void set(const Dictionary &, const Parameters_ &, double, Node *)
Set values from dictionary.
Definition iaf_psc_exp_ps.cpp:200
double y2_
Membrane potential (relative to resting potential).
Definition iaf_psc_exp_ps.h:338
double y1_in_
Inhibitory synaptic current.
Definition iaf_psc_exp_ps.h:337
Internal variables of the model.
Definition iaf_psc_exp_ps.h:383
double exp_tau_in_
exp(-h/tau_in)
Definition iaf_psc_exp_ps.h:388
double P21_ex_
Progagator matrix element, 2nd row.
Definition iaf_psc_exp_ps.h:391
double y2_before_
y2_ at beginning of ministep
Definition iaf_psc_exp_ps.h:395
double exp_tau_ex_
exp(-h/tau_ex)
Definition iaf_psc_exp_ps.h:387
long refractory_steps_
Refractory time in steps.
Definition iaf_psc_exp_ps.h:385
double P21_in_
Progagator matrix element, 2nd row.
Definition iaf_psc_exp_ps.h:390
double expm1_tau_m_
expm1(-h/tau_m)
Definition iaf_psc_exp_ps.h:386
double h_ms_
Time resolution [ms].
Definition iaf_psc_exp_ps.h:384
double P20_
Progagator matrix element, 2nd row.
Definition iaf_psc_exp_ps.h:389
double y1_ex_before_
y1_ at beginning of ministep
Definition iaf_psc_exp_ps.h:393
double y0_before_
y0_ at beginning of ministep
Definition iaf_psc_exp_ps.h:392
double y1_in_before_
y1_ at beginning of ministep
Definition iaf_psc_exp_ps.h:394