23 #ifndef IAF_PSC_ALPHA_CANON_H
24 #define IAF_PSC_ALPHA_CANON_H
433 if (receptor_type != 0)
441 if (receptor_type != 0)
450 if (receptor_type != 0)
467 const double delta_EL = ptmp.
set(d);
469 stmp.
set(d, ptmp, delta_EL);
478 #endif //IAF_PSC_ALPHA_CANON_H
double_t y2_before_
y2_ at beginning of mini-step, for interpolation
Definition: iaf_psc_alpha_canon.h:388
double_t I_e_
External DC current [pA].
Definition: iaf_psc_alpha_canon.h:296
const Name recordables("recordables")
List of recordable state data (Device parameters)
Definition: nest_names.h:244
double_t E_L_
Resting potential in mV.
Definition: iaf_psc_alpha_canon.h:293
double_t P32_
progagator matrix elem, 3rd row
Definition: iaf_psc_alpha_canon.h:386
double_t y0_
external input current
Definition: iaf_psc_alpha_canon.h:331
double_t PSCInitialValue_
e / tau_syn
Definition: iaf_psc_alpha_canon.h:378
Buffers_(iaf_psc_alpha_canon &)
Definition: iaf_psc_alpha_canon.cpp:185
Definition: iaf_psc_alpha_canon.h:253
void propagate_(const double_t dt)
Propagate neuron state.
Definition: iaf_psc_alpha_canon.cpp:427
double_t expm1_tau_syn_
exp(-h/tau_syn) - 1
Definition: iaf_psc_alpha_canon.h:383
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
double_t y3_before_
y3_ at beginning of mini-step, for interpolation
Definition: iaf_psc_alpha_canon.h:389
Definition: lockptrdatum.h:40
void set(const DictionaryDatum &, const Parameters_ &, double)
Set values from dictionary.
Definition: iaf_psc_alpha_canon.cpp:174
Parameters_()
Sets default parameter values.
Definition: iaf_psc_alpha_canon.cpp:62
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
double_t tau_m_
Membrane time constant in ms.
Definition: iaf_psc_alpha_canon.h:281
Declarations for base class Node.
Parameters_ P_
Definition: iaf_psc_alpha_canon.h:412
double_t last_spike_offset_
offset of most recent spike
Definition: iaf_psc_alpha_canon.h:337
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
long_t refractory_steps_
refractory time in steps
Definition: iaf_psc_alpha_canon.h:379
Definition: iaf_psc_alpha_canon.h:253
Buffers_ B_
Definition: iaf_psc_alpha_canon.h:415
UniversalDataLogger< iaf_psc_alpha_canon > logger_
Logger for all analog data.
Definition: iaf_psc_alpha_canon.h:368
double_t y3_
Membrane pot. rel. to resting pot. E_L_.
Definition: iaf_psc_alpha_canon.h:334
Event for electrical currents.
Definition: event.h:420
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
bool is_refractory_
true while refractory
Definition: iaf_psc_alpha_canon.h:335
State variables of the model.
Definition: iaf_psc_alpha_canon.h:330
Queue for all spikes arriving into a neuron.
Definition: slice_ring_buffer.h:56
double_t get_y2_() const
Read out state variable y2.
Definition: iaf_psc_alpha_canon.h:401
double_t gamma_
1/c_m * 1/(1/tau_syn - 1/tau_m)
Definition: iaf_psc_alpha_canon.h:380
void update(Time const &origin, const long_t from, const long_t to)
Time Evolution Operator.
Definition: iaf_psc_alpha_canon.cpp:263
double_t thresh_find1_(double_t const) const
Definition: iaf_psc_alpha_canon.cpp:512
SliceRingBuffer events_
Queue for incoming events.
Definition: iaf_psc_alpha_canon.h:364
State_()
Default initialization.
Definition: iaf_psc_alpha_canon.cpp:75
double_t y1_
alpha current, first component
Definition: iaf_psc_alpha_canon.h:332
Map names of recordables to data access functions.
Definition: recordables_map.h:58
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: iaf_psc_alpha_canon.h:423
Leaky iaf neuron, alpha PSC synapses, canonical implementation.
Definition: iaf_psc_alpha_canon.h:134
Definition: nest_time.h:130
friend class UniversalDataLogger< iaf_psc_alpha_canon >
Definition: iaf_psc_alpha_canon.h:271
double_t thresh_find3_(double_t const) const
Definition: iaf_psc_alpha_canon.cpp:540
Definition: iaf_psc_alpha_canon.h:253
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: iaf_psc_alpha_canon.cpp:89
Independent parameters of the model.
Definition: iaf_psc_alpha_canon.h:278
std::string get_name() const
Return class name.
Definition: node.cpp:83
double_t y2_
alpha current, second component
Definition: iaf_psc_alpha_canon.h:333
double_t U_reset_
Reset potential.
Definition: iaf_psc_alpha_canon.h:310
interpOrder
Interpolation orders.
Definition: iaf_psc_alpha_canon.h:253
double_t tau_syn_
Time constant of synaptic current in ms.
Definition: iaf_psc_alpha_canon.h:284
double_t y0_before_
y0_ at beginning of mini-step, forinterpolation
Definition: iaf_psc_alpha_canon.h:387
double_t gamma_sq_
1/c_m * 1/(1/tau_syn - 1/tau_m)^2
Definition: iaf_psc_alpha_canon.h:381
Exception to be thrown if the specified receptor type does not exist in the node. ...
Definition: exceptions.h:254
Variables_ V_
Definition: iaf_psc_alpha_canon.h:414
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
double_t thresh_find2_(double_t const) const
Definition: iaf_psc_alpha_canon.cpp:519
double_t get_y1_() const
Read out state variable y1.
Definition: iaf_psc_alpha_canon.h:398
interpOrder Interpol_
Interpolation order.
Definition: iaf_psc_alpha_canon.h:313
double_t h_ms_
time resolution in ms
Definition: iaf_psc_alpha_canon.h:377
Main administrative interface to the network.
Definition: network.h:135
const Name origin("origin")
Device parameters.
Definition: nest_names.h:215
void emit_instant_spike_(Time const &origin, const long_t lag, const double_t spike_offset)
Emit a single spike at a precisely given time.
Definition: iaf_psc_alpha_canon.cpp:475
double_t get_V_m_() const
Read out the real membrane potential.
Definition: iaf_psc_alpha_canon.h:395
void set_status(const DictionaryDatum &)
Definition: iaf_psc_alpha_canon.h:464
Internal variables of the model.
Definition: iaf_psc_alpha_canon.h:376
long_t last_spike_step_
time stamp of most recent spike
Definition: iaf_psc_alpha_canon.h:336
double_t P31_
progagator matrix elem, 3rd row
Definition: iaf_psc_alpha_canon.h:385
void calibrate()
Re-calculate dependent parameters of the node.
Definition: iaf_psc_alpha_canon.cpp:232
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
double double_t
Double precision floating point numbers.
Definition: nest.h:93
void get_status(DictionaryDatum &) const
Definition: iaf_psc_alpha_canon.h:456
void emit_spike_(Time const &origin, const long_t lag, const double_t t0, const double_t dt)
Emit a single spike caused by DC current in absence of spike input.
Definition: iaf_psc_alpha_canon.cpp:453
const Name dt("dt")
Miscellaneous parameters.
Definition: nest_names.h:105
double_t thresh_find_(double_t const) const
Localize threshold crossing.
Definition: iaf_psc_alpha_canon.cpp:498
virtual port handles_test_event(SpikeEvent &, rport receptor_type)
Check if the node can handle a particular event and receptor type.
Definition: node.cpp:203
double_t U_min_
Lower bound, RELATIVE TO RESTING POTENTAIL(!).
Definition: iaf_psc_alpha_canon.h:304
Request data to be logged/logged data to be sent.
Definition: event.h:486
Definition: iaf_psc_alpha_canon.h:253
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
double_t t_ref_
Refractory period in ms.
Definition: iaf_psc_alpha_canon.h:290
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: iaf_psc_alpha_canon.h:431
static RecordablesMap< iaf_psc_alpha_canon > recordablesMap_
Mapping of recordables names to access functions.
Definition: iaf_psc_alpha_canon.h:419
void get(DictionaryDatum &, const Parameters_ &) const
Definition: iaf_psc_alpha_canon.cpp:163
Default types used by the NEST kernel.
double_t U_th_
Threshold, RELATIVE TO RESTING POTENTAIL(!).
Definition: iaf_psc_alpha_canon.h:300
Event for spike information.
Definition: event.h:320
iaf_psc_alpha_canon()
Basic constructor.
Definition: iaf_psc_alpha_canon.cpp:198
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: iaf_psc_alpha_canon.cpp:224
Base class for all NEST network objects.
Definition: node.h:96
void set_spiketime(Time const &)
Definition: iaf_psc_alpha_canon.cpp:422
Definition: iaf_psc_alpha_canon.h:253
double set(const DictionaryDatum &)
Set values from dictionary.
Definition: iaf_psc_alpha_canon.cpp:103
double_t P30_
progagator matrix elem, 3rd row
Definition: iaf_psc_alpha_canon.h:384
double_t c_m_
Membrane capacitance in pF.
Definition: iaf_psc_alpha_canon.h:287
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
Buffers of the model.
Definition: iaf_psc_alpha_canon.h:356
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: iaf_psc_alpha_canon.cpp:389
const double e
Definition: numerics.cpp:62
void init_state_(const Node &proto)
Private function to initialize the state of a node to model defaults.
Definition: iaf_psc_alpha_canon.cpp:218
RingBuffer currents_
Definition: iaf_psc_alpha_canon.h:365
double_t expm1_tau_m_
exp(-h/tau_m) - 1
Definition: iaf_psc_alpha_canon.h:382
Buffer Layout.
Definition: ring_buffer.h:77
State_ S_
Definition: iaf_psc_alpha_canon.h:413
bool is_off_grid() const
Returns true if the node if it sends/receives -grid events This is used to discriminate between diffe...
Definition: iaf_psc_alpha_canon.h:174