23 #ifndef IAF_PSC_EXP_PS_H
24 #define IAF_PSC_EXP_PS_H
397 if (receptor_type != 0)
405 if (receptor_type != 0)
414 if (receptor_type != 0)
430 const double delta_EL = ptmp.
set(d);
432 stmp.
set(d, ptmp, delta_EL);
441 #endif // IAF_PSC_EXP_PS_H
Buffers of the model.
Definition: iaf_psc_exp_ps.h:325
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: iaf_psc_exp_ps.cpp:366
Variables_ V_
Definition: iaf_psc_exp_ps.h:378
double_t get_V_m_() const
Read out the real membrane potential.
Definition: iaf_psc_exp_ps.h:365
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
Definition: lockptrdatum.h:40
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Declarations for base class Node.
State_ S_
Definition: iaf_psc_exp_ps.h:377
double_t c_m_
Membrane capacitance in pF.
Definition: iaf_psc_exp_ps.h:258
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: iaf_psc_exp_ps.cpp:206
double_t h_ms_
Time resolution [ms].
Definition: iaf_psc_exp_ps.h:348
double_t P21_in_
Progagator matrix element, 2nd row.
Definition: iaf_psc_exp_ps.h:354
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
double_t expm1_tau_ex_
exp(-h/tau_ex) - 1
Definition: iaf_psc_exp_ps.h:351
State_()
Default initialization.
Definition: iaf_psc_exp_ps.cpp:71
SliceRingBuffer events_
Queue for incoming events.
Definition: iaf_psc_exp_ps.h:334
void set_spiketime(Time const &)
Definition: iaf_psc_exp_ps.cpp:400
State variables of the model.
Definition: iaf_psc_exp_ps.h:297
double_t y1_in_before_
y1_ at beginning of ministep
Definition: iaf_psc_exp_ps.h:358
Internal variables of the model.
Definition: iaf_psc_exp_ps.h:346
void emit_spike_(const Time &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_exp_ps.cpp:424
double_t y2_before_
y2_ at beginning of ministep
Definition: iaf_psc_exp_ps.h:359
void set_status(const DictionaryDatum &)
Definition: iaf_psc_exp_ps.h:427
double_t bisectioning_(const double_t dt) const
Localize threshold crossing by bisectioning.
Definition: iaf_psc_exp_ps.cpp:466
double_t U_min_
Lower bound, RELATIVE TO RESTING POTENTAIL(!).
Definition: iaf_psc_exp_ps.h:275
double_t y2_
Membrane potential (relative to resting potential)
Definition: iaf_psc_exp_ps.h:302
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
Independent parameters of the model.
Definition: iaf_psc_exp_ps.h:246
Queue for all spikes arriving into a neuron.
Definition: slice_ring_buffer.h:56
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: iaf_psc_exp_ps.h:395
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: iaf_psc_exp_ps.cpp:93
Parameters_ P_
Definition: iaf_psc_exp_ps.h:376
double set(const DictionaryDatum &)
Set values from dictionary.
Definition: iaf_psc_exp_ps.cpp:107
double_t y1_ex_
Exc. exponetial current.
Definition: iaf_psc_exp_ps.h:300
Map names of recordables to data access functions.
Definition: recordables_map.h:58
Buffers_(iaf_psc_exp_ps &)
Definition: iaf_psc_exp_ps.cpp:81
double_t t_ref_
Refractory period in ms.
Definition: iaf_psc_exp_ps.h:261
Definition: nest_time.h:130
void set(const DictionaryDatum &, const Parameters_ &, double)
Set values from dictionary.
Definition: iaf_psc_exp_ps.cpp:167
std::string get_name() const
Return class name.
Definition: node.cpp:83
double_t tau_ex_
Time constant of exc.
Definition: iaf_psc_exp_ps.h:252
void emit_instant_spike_(const Time &origin, const long_t lag, const double_t spike_offset)
Emit a single spike at a precisely given time.
Definition: iaf_psc_exp_ps.cpp:446
double_t last_spike_offset_
Offset of most recent spike.
Definition: iaf_psc_exp_ps.h:306
Exception to be thrown if the specified receptor type does not exist in the node. ...
Definition: exceptions.h:254
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
Main administrative interface to the network.
Definition: network.h:135
double_t tau_m_
Membrane time constant in ms.
Definition: iaf_psc_exp_ps.h:249
const Name origin("origin")
Device parameters.
Definition: nest_names.h:215
long_t last_spike_step_
Time stamp of most recent spike.
Definition: iaf_psc_exp_ps.h:305
double_t U_reset_
Reset potential.
Definition: iaf_psc_exp_ps.h:280
Leaky iaf neuron, exponential PSC synapses, canonical implementation.
Definition: iaf_psc_exp_ps.h:119
double_t P21_ex_
Progagator matrix element, 2nd row.
Definition: iaf_psc_exp_ps.h:355
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_exp_ps.h:158
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
void get(DictionaryDatum &, const Parameters_ &) const
Definition: iaf_psc_exp_ps.cpp:158
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
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 y1_ex_before_
y1_ at beginning of ministep
Definition: iaf_psc_exp_ps.h:357
Request data to be logged/logged data to be sent.
Definition: event.h:486
double_t I_e_
External DC current [pA].
Definition: iaf_psc_exp_ps.h:267
UniversalDataLogger< iaf_psc_exp_ps > logger_
Logger for all analog data.
Definition: iaf_psc_exp_ps.h:338
void propagate_(const double_t dt)
Propagate neuron state.
Definition: iaf_psc_exp_ps.cpp:405
double_t expm1_tau_m_
exp(-h/tau_m) - 1
Definition: iaf_psc_exp_ps.h:350
void init_state_(const Node &proto)
Private function to initialize the state of a node to model defaults.
Definition: iaf_psc_exp_ps.cpp:199
double_t expm1_tau_in_
exp(-h/tau_in) - 1
Definition: iaf_psc_exp_ps.h:352
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
double_t E_L_
Resting potential in mV.
Definition: iaf_psc_exp_ps.h:264
friend class UniversalDataLogger< iaf_psc_exp_ps >
Definition: iaf_psc_exp_ps.h:199
Default types used by the NEST kernel.
double_t y1_in_
Inh. exponetial current.
Definition: iaf_psc_exp_ps.h:301
Event for spike information.
Definition: event.h:320
bool is_refractory_
True while refractory.
Definition: iaf_psc_exp_ps.h:304
double_t y0_before_
y0_ at beginning of ministep
Definition: iaf_psc_exp_ps.h:356
static RecordablesMap< iaf_psc_exp_ps > recordablesMap_
Mapping of recordables names to access functions.
Definition: iaf_psc_exp_ps.h:383
Base class for all NEST network objects.
Definition: node.h:96
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: iaf_psc_exp_ps.h:387
double_t U_th_
Threshold, RELATIVE TO RESTING POTENTAIL(!).
Definition: iaf_psc_exp_ps.h:271
void calibrate()
Re-calculate dependent parameters of the node.
Definition: iaf_psc_exp_ps.cpp:214
RingBuffer currents_
Definition: iaf_psc_exp_ps.h:335
double_t P20_
Progagator matrix element, 2nd row.
Definition: iaf_psc_exp_ps.h:353
double_t y0_
External input current.
Definition: iaf_psc_exp_ps.h:299
double_t tau_in_
Time constant of inh.
Definition: iaf_psc_exp_ps.h:255
long_t refractory_steps_
Refractory time in steps.
Definition: iaf_psc_exp_ps.h:349
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
Buffers_ B_
Definition: iaf_psc_exp_ps.h:379
const double e
Definition: numerics.cpp:62
iaf_psc_exp_ps()
Basic constructor.
Definition: iaf_psc_exp_ps.cpp:179
void get_status(DictionaryDatum &) const
Definition: iaf_psc_exp_ps.h:420
Buffer Layout.
Definition: ring_buffer.h:77
Parameters_()
Sets default parameter values.
Definition: iaf_psc_exp_ps.cpp:58
void update(Time const &origin, const long_t from, const long_t to)
Time Evolution Operator.
Definition: iaf_psc_exp_ps.cpp:235