23 #ifndef IAF_PSC_DELTA_CANON_H
24 #define IAF_PSC_DELTA_CANON_H
405 if (receptor_type != 0)
413 if (receptor_type != 0)
422 if (receptor_type != 0)
445 const double delta_EL = ptmp.
set(d);
447 stmp.
set(d, ptmp, delta_EL);
456 #endif //IAF_PSC_DELTA_CANON_H
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_delta_canon.h:192
const Name recordables("recordables")
List of recordable state data (Device parameters)
Definition: nest_names.h:244
double_t U_reset_
Reset potential.
Definition: iaf_psc_delta_canon.h:278
Parameters_ P_
Definition: iaf_psc_delta_canon.h:382
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
void get_status(DictionaryDatum &) const
Definition: iaf_psc_delta_canon.h:434
iaf_psc_delta_canon()
Basic constructor.
Definition: iaf_psc_delta_canon.cpp:173
double_t U_th_
Threshold, RELATIVE TO RESTING POTENTAIL(!).
Definition: iaf_psc_delta_canon.h:268
Definition: lockptrdatum.h:40
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Declarations for base class Node.
double set(const DictionaryDatum &)
Set values from dictionary.
Definition: iaf_psc_delta_canon.cpp:98
static RecordablesMap< iaf_psc_delta_canon > recordablesMap_
Mapping of recordables names to access functions.
Definition: iaf_psc_delta_canon.h:389
State variables of the model.
Definition: iaf_psc_delta_canon.h:300
double_t U_min_
Lower bound, RELATIVE TO RESTING POTENTAIL(!).
Definition: iaf_psc_delta_canon.h:272
Definition: iaf_psc_delta_canon.h:154
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
double_t get_V_m_() const
Read out the real membrane potential.
Definition: iaf_psc_delta_canon.h:371
bool is_refractory_
flag for refractoriness
Definition: iaf_psc_delta_canon.h:307
double_t tau_m_
Membrane time constant in ms.
Definition: iaf_psc_delta_canon.h:252
void calibrate()
Re-calculate dependent parameters of the node.
Definition: iaf_psc_delta_canon.cpp:207
double_t h_ms_
duration of time step [ms]
Definition: iaf_psc_delta_canon.h:358
double_t v_inf_
$ {I_e}{c_m} $
Definition: iaf_psc_delta_canon.h:355
void emit_instant_spike_(Time const &origin, const long_t lag, const double_t spike_offset)
Emit a single spike caused instantly by an input spike.
Definition: iaf_psc_delta_canon.cpp:444
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
Variables_ V_
Definition: iaf_psc_delta_canon.h:384
Queue for all spikes arriving into a neuron.
Definition: slice_ring_buffer.h:56
long_t last_spike_step_
step of last spike, for reporting in status dict
Definition: iaf_psc_delta_canon.h:304
void init_state_(const Node &proto)
Private function to initialize the state of a node to model defaults.
Definition: iaf_psc_delta_canon.cpp:193
Buffers_ B_
Definition: iaf_psc_delta_canon.h:385
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: iaf_psc_delta_canon.cpp:465
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: iaf_psc_delta_canon.cpp:86
State_()
Default initialization.
Definition: iaf_psc_delta_canon.cpp:73
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: iaf_psc_delta_canon.cpp:225
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: iaf_psc_delta_canon.h:403
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: iaf_psc_delta_canon.cpp:199
void set_spiketime(Time const &)
Definition: iaf_psc_delta_canon.cpp:496
Map names of recordables to data access functions.
Definition: recordables_map.h:58
double_t expm1_t_
$ e^{-t/} - 1 $
Definition: iaf_psc_delta_canon.h:354
void get(DictionaryDatum &, const Parameters_ &) const
Definition: iaf_psc_delta_canon.cpp:143
double_t E_L_
Resting potential in mV.
Definition: iaf_psc_delta_canon.h:261
Definition: nest_time.h:130
SliceRingBuffer events_
Queue for incoming events.
Definition: iaf_psc_delta_canon.h:336
std::string get_name() const
Return class name.
Definition: node.cpp:83
void propagate_(const double_t dt)
Propagate neuron state.
Definition: iaf_psc_delta_canon.cpp:406
Exception to be thrown if the specified receptor type does not exist in the node. ...
Definition: exceptions.h:254
Buffers_(iaf_psc_delta_canon &)
Definition: iaf_psc_delta_canon.cpp:161
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
double_t I_contrib_
$ {I_e}{c_m} (1-e^{-t/})$
Definition: iaf_psc_delta_canon.h:356
const Name origin("origin")
Device parameters.
Definition: nest_names.h:215
double_t I_
This is the current to be applied during this time step.
Definition: iaf_psc_delta_canon.h:302
RingBuffer currents_
Queue for incoming current events.
Definition: iaf_psc_delta_canon.h:341
void set(const DictionaryDatum &, const Parameters_ &, double)
Set values from dictionary.
Definition: iaf_psc_delta_canon.cpp:153
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
friend struct step
Definition: nest_time.h:171
State_ S_
Definition: iaf_psc_delta_canon.h:383
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
const Name dt("dt")
Miscellaneous parameters.
Definition: nest_names.h:105
long_t refractory_steps_
refractory time in steps
Definition: iaf_psc_delta_canon.h:360
Independent parameters of the model.
Definition: iaf_psc_delta_canon.h:249
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 c_m_
Membrane capacitance in pF.
Definition: iaf_psc_delta_canon.h:255
Request data to be logged/logged data to be sent.
Definition: event.h:486
double_t last_spike_offset_
offset of last spike, for reporting in status dict
Definition: iaf_psc_delta_canon.h:305
double_t t_ref_
Refractory period in ms.
Definition: iaf_psc_delta_canon.h:258
void set_status(const DictionaryDatum &)
Definition: iaf_psc_delta_canon.h:442
Parameters_()
Sets default parameter values.
Definition: iaf_psc_delta_canon.cpp:62
double_t I_e_
External DC current [pA].
Definition: iaf_psc_delta_canon.h:264
UniversalDataLogger< iaf_psc_delta_canon > logger_
Logger for all analog data.
Definition: iaf_psc_delta_canon.h:344
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
Default types used by the NEST kernel.
Event for spike information.
Definition: event.h:320
Base class for all NEST network objects.
Definition: node.h:96
bool with_refr_input_
spikes arriving during refractory period are counted
Definition: iaf_psc_delta_canon.h:308
double_t exp_t_
$ e^{-t/} $
Definition: iaf_psc_delta_canon.h:353
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: iaf_psc_delta_canon.h:395
double_t U_
This is the membrane potential RELATIVE TO RESTING POTENTIAL.
Definition: iaf_psc_delta_canon.h:301
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
Time get_spiketime() const
Definition: iaf_psc_delta_canon.h:428
void emit_spike_(Time const &origin, const long_t lag, const double_t offset_U)
Emit a single spike caused by DC current in absence of spike input.
Definition: iaf_psc_delta_canon.cpp:419
const double e
Definition: numerics.cpp:62
Buffers of the model.
Definition: iaf_psc_delta_canon.h:327
friend class UniversalDataLogger< iaf_psc_delta_canon >
Definition: iaf_psc_delta_canon.h:293
Internal variables of the model.
Definition: iaf_psc_delta_canon.h:352
Buffer Layout.
Definition: ring_buffer.h:77
double_t refr_spikes_buffer_
Accumulate spikes arriving during refractory period, discounted for decay until end of refractory per...
Definition: iaf_psc_delta_canon.h:365