24#ifndef AMAT2_PSC_EXP_H
25#define AMAT2_PSC_EXP_H
359 return S_.V_m_ +
P_.E_L_;
365 return P_.E_L_ +
P_.omega_ +
S_.V_th_1_ +
S_.V_th_2_ +
S_.V_th_v_;
409 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
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
double get_V_th_() const
Definition amat2_psc_exp.h:363
State_ S_
Definition amat2_psc_exp.h:395
void handle(SpikeEvent &) override
Handle incoming spike events.
Definition amat2_psc_exp.cpp:427
double get_I_syn_ex_() const
Definition amat2_psc_exp.h:375
size_t handles_test_event(SpikeEvent &, size_t) override
Check if the node can handle a particular event and receptor type.
Definition amat2_psc_exp.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 amat2_psc_exp.h:406
Parameters_ P_
Instances of private data structures for the different types of data pertaining to the model.
Definition amat2_psc_exp.h:394
static RecordablesMap< amat2_psc_exp > recordablesMap_
Mapping of recordables names to access functions.
Definition amat2_psc_exp.h:401
double get_V_m_() const
Read out state variables, used by UniversalDataLogger.
Definition amat2_psc_exp.h:357
Buffers_ B_
Definition amat2_psc_exp.h:397
amat2_psc_exp()
Definition amat2_psc_exp.cpp:228
double get_I_syn_in_() const
Definition amat2_psc_exp.h:381
double get_V_th_v_() const
Definition amat2_psc_exp.h:369
friend class RecordablesMap< amat2_psc_exp >
Definition amat2_psc_exp.h:201
void get_status(Dictionary &) const override
Export properties of the node by setting entries in the status dictionary.
Definition amat2_psc_exp.h:445
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition amat2_psc_exp.h:455
Variables_ V_
Definition amat2_psc_exp.h:396
void pre_run_hook() override
Re-calculate dependent parameters of the node.
Definition amat2_psc_exp.cpp:262
void update(Time const &, const long, const long) override
Advance the state of the node in time through the given interval.
Definition amat2_psc_exp.cpp:366
friend class UniversalDataLogger< amat2_psc_exp >
Definition amat2_psc_exp.h:202
void init_buffers_() override
Configure persistent internal data structures.
Definition amat2_psc_exp.cpp:250
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
size_t synindex
For enumerations of synapse types.
Definition nest_types.h:121
void register_amat2_psc_exp(const std::string &name)
Definition amat2_psc_exp.cpp:46
Buffers of the model.
Definition amat2_psc_exp.h:302
Buffers_(amat2_psc_exp &)
Sets buffer pointers to 0.
Definition amat2_psc_exp.cpp:210
RingBuffer currents_
Definition amat2_psc_exp.h:309
RingBuffer spikes_in_
Definition amat2_psc_exp.h:308
UniversalDataLogger< amat2_psc_exp > logger_
Logger for all analog data.
Definition amat2_psc_exp.h:312
RingBuffer spikes_ex_
buffers and sums up incoming spikes/currents
Definition amat2_psc_exp.h:307
Independent parameters of the model.
Definition amat2_psc_exp.h:210
double tau_ex_
Time constant of excitatory synaptic current in ms.
Definition amat2_psc_exp.h:227
double C_
Membrane capacitance in pF.
Definition amat2_psc_exp.h:215
double E_L_
Resting potential in mV.
Definition amat2_psc_exp.h:221
double tau_1_
Short and long time constant of adaptive threshold in ms.
Definition amat2_psc_exp.h:233
double tau_in_
Time constant of inhibitory synaptic current in ms.
Definition amat2_psc_exp.h:230
double omega_
Resting threshold in mV (relative to resting potential).
Definition amat2_psc_exp.h:250
void get(Dictionary &) const
Store current values in dictionary.
Definition amat2_psc_exp.cpp:109
double set(const Dictionary &, Node *node)
Set values from dictionary.
Definition amat2_psc_exp.cpp:128
double I_e_
External current in pA.
Definition amat2_psc_exp.h:224
double alpha_2_
Definition amat2_psc_exp.h:238
double alpha_1_
Amplitudes of threshold adaption in mV.
Definition amat2_psc_exp.h:237
Parameters_()
Sets default parameter values.
Definition amat2_psc_exp.cpp:71
double Tau_
Membrane time constant in ms.
Definition amat2_psc_exp.h:212
double tau_v_
Time-constant for voltage-dependent threshold component in ms.
Definition amat2_psc_exp.h:244
double tau_ref_
Refractory period in ms.
Definition amat2_psc_exp.h:218
double tau_2_
Definition amat2_psc_exp.h:234
double beta_
Scaling coefficient for voltage-dependent threshold component in 1/ms.
Definition amat2_psc_exp.h:241
State variables of the model.
Definition amat2_psc_exp.h:268
double V_th_2_
Definition amat2_psc_exp.h:276
void get(Dictionary &, const Parameters_ &) const
Definition amat2_psc_exp.cpp:183
double V_th_1_
Definition amat2_psc_exp.h:274
double V_th_v_
voltage dependent threshold, variable 7
Definition amat2_psc_exp.h:280
void set(const Dictionary &, const Parameters_ &, double, Node *)
Set values from dictionary.
Definition amat2_psc_exp.cpp:194
double V_th_dv_
Definition amat2_psc_exp.h:278
double I_syn_ex_
postsynaptic current for exc. inputs, variable 1
Definition amat2_psc_exp.h:271
double I_syn_in_
postsynaptic current for inh. inputs, variable 2
Definition amat2_psc_exp.h:272
double V_m_
membrane potential, variable 3
Definition amat2_psc_exp.h:273
double i_0_
synaptic dc input current, variable 0
Definition amat2_psc_exp.h:270
State_()
Default initialization.
Definition amat2_psc_exp.cpp:91
int r_
total refractory counter (no spikes can be generated)
Definition amat2_psc_exp.h:282
Internal variables of the model.
Definition amat2_psc_exp.h:321
double P73_
Definition amat2_psc_exp.h:347
double P55_
Definition amat2_psc_exp.h:338
double P33_
Definition amat2_psc_exp.h:336
double P66_
Definition amat2_psc_exp.h:343
double P22_
Definition amat2_psc_exp.h:332
double P72_
Definition amat2_psc_exp.h:346
double P76_
Definition amat2_psc_exp.h:348
double P71_
Definition amat2_psc_exp.h:345
double P00_
Amplitude of the synaptic current.
Definition amat2_psc_exp.h:330
double P32_
Definition amat2_psc_exp.h:335
double P44_
Definition amat2_psc_exp.h:337
double P60_
Definition amat2_psc_exp.h:339
double P62_
Definition amat2_psc_exp.h:341
double P30_
Definition amat2_psc_exp.h:333
double P31_
Definition amat2_psc_exp.h:334
double P11_
Definition amat2_psc_exp.h:331
double P63_
Definition amat2_psc_exp.h:342
int RefractoryCountsTot_
Definition amat2_psc_exp.h:351
double P70_
Definition amat2_psc_exp.h:344
double P61_
Definition amat2_psc_exp.h:340
double P77_
Definition amat2_psc_exp.h:349