338 return S_.V_m_ +
P_.E_L_;
343 return P_.E_L_ +
P_.omega_ +
S_.V_th_1_ +
S_.V_th_2_;
369 e.set_sender( *
this );
371 return target.handles_test_event( e, receptor_type );
378 if ( receptor_type != 0 )
388 if ( receptor_type != 0 )
398 if ( receptor_type != 0 )
419 const double delta_EL = ptmp.
set( d,
this );
421 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
Buffer Layout.
Definition ring_buffer.h:83
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 mat2_psc_exp.h:354
void pre_run_hook() override
Re-calculate dependent parameters of the node.
Definition mat2_psc_exp.cpp:241
void handle(SpikeEvent &) override
Handle incoming spike events.
Definition mat2_psc_exp.cpp:360
friend class UniversalDataLogger< mat2_psc_exp >
Definition mat2_psc_exp.h:197
friend class RecordablesMap< mat2_psc_exp >
Definition mat2_psc_exp.h:196
size_t handles_test_event(SpikeEvent &, size_t) override
Check if the node can handle a particular event and receptor type.
Definition mat2_psc_exp.h:376
mat2_psc_exp()
Definition mat2_psc_exp.cpp:207
double get_V_m_() const
Read out state variables, used by UniversalDataLogger.
Definition mat2_psc_exp.h:336
Buffers_ B_
Definition mat2_psc_exp.h:357
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition mat2_psc_exp.h:416
Variables_ V_
Definition mat2_psc_exp.h:356
double get_V_th_() const
Definition mat2_psc_exp.h:341
void init_buffers_() override
Configure persistent internal data structures.
Definition mat2_psc_exp.cpp:229
size_t send_test_event(Node &, size_t, synindex, bool) override
Send an event to the receiving_node passed as an argument.
Definition mat2_psc_exp.h:366
static RecordablesMap< mat2_psc_exp > recordablesMap_
Mapping of recordables names to access functions.
Definition mat2_psc_exp.h:361
State_ S_
Definition mat2_psc_exp.h:355
void update(Time const &, const long, const long) override
Advance the state of the node in time through the given interval.
Definition mat2_psc_exp.cpp:307
void get_status(Dictionary &) const override
Export properties of the node by setting entries in the status dictionary.
Definition mat2_psc_exp.h:406
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_mat2_psc_exp(const std::string &name)
The present implementation uses individual variables for the components of the state vector and the n...
Definition mat2_psc_exp.cpp:46
size_t synindex
For enumerations of synapse types.
Definition nest_types.h:121
Buffers of the model.
Definition mat2_psc_exp.h:288
UniversalDataLogger< mat2_psc_exp > logger_
Logger for all analog data.
Definition mat2_psc_exp.h:298
RingBuffer spikes_in_
Definition mat2_psc_exp.h:294
RingBuffer spikes_ex_
buffers and sums up incoming spikes/currents
Definition mat2_psc_exp.h:293
RingBuffer currents_
Definition mat2_psc_exp.h:295
Buffers_(mat2_psc_exp &)
Sets buffer pointers to 0.
Definition mat2_psc_exp.cpp:189
Independent parameters of the model.
Definition mat2_psc_exp.h:205
void get(Dictionary &) const
Store current values in dictionary.
Definition mat2_psc_exp.cpp:102
double tau_ex_
Time constant of excitatory synaptic current in ms.
Definition mat2_psc_exp.h:222
Parameters_()
Sets default parameter values.
Definition mat2_psc_exp.cpp:68
double tau_ref_
Refractory period in ms.
Definition mat2_psc_exp.h:213
double tau_1_
Short and long time constant of adaptive threshold.
Definition mat2_psc_exp.h:228
double E_L_
Resting potential in mV.
Definition mat2_psc_exp.h:216
double alpha_2_
Definition mat2_psc_exp.h:233
double tau_in_
Time constant of inhibitory synaptic current in ms.
Definition mat2_psc_exp.h:225
double omega_
Resting threshold in mV (relative to resting potential).
Definition mat2_psc_exp.h:239
double alpha_1_
Amplitudes of threshold adaption.
Definition mat2_psc_exp.h:232
double set(const Dictionary &, Node *node)
Set values from dictionary.
Definition mat2_psc_exp.cpp:119
double Tau_
Membrane time constant in ms.
Definition mat2_psc_exp.h:207
double I_e_
External current in pA.
Definition mat2_psc_exp.h:219
double tau_2_
Definition mat2_psc_exp.h:229
double C_
Membrane capacitance in pF.
Definition mat2_psc_exp.h:210
State variables of the model.
Definition mat2_psc_exp.h:257
double V_th_2_
long time adaptive threshold (related to tau_2_), variable 2
Definition mat2_psc_exp.h:266
double V_m_
Definition mat2_psc_exp.h:262
void get(Dictionary &, const Parameters_ &) const
Definition mat2_psc_exp.cpp:165
double i_syn_in_
postsynaptic current for inh. inputs, variable 1
Definition mat2_psc_exp.h:261
double V_th_1_
short time adaptive threshold (related to tau_1_), variable 1
Definition mat2_psc_exp.h:264
int r_
total refractory counter (no spikes can be generated)
Definition mat2_psc_exp.h:268
State_()
Default initialization.
Definition mat2_psc_exp.cpp:86
void set(const Dictionary &, const Parameters_ &, double, Node *)
Set values from dictionary.
Definition mat2_psc_exp.cpp:174
double i_0_
synaptic dc input current, variable 0
Definition mat2_psc_exp.h:259
double i_syn_ex_
postsynaptic current for exc. inputs, variable 1
Definition mat2_psc_exp.h:260
Internal variables of the model.
Definition mat2_psc_exp.h:307
double P11th_
Definition mat2_psc_exp.h:327
double P22_expm1_
Definition mat2_psc_exp.h:322
double P21ex_
Definition mat2_psc_exp.h:320
double P11in_
Definition mat2_psc_exp.h:319
double P22th_
Definition mat2_psc_exp.h:328
int RefractoryCountsTot_
Definition mat2_psc_exp.h:330
double P20_
Amplitude of the synaptic current.
Definition mat2_psc_exp.h:317
double P21in_
Definition mat2_psc_exp.h:321
double P11ex_
Definition mat2_psc_exp.h:318