52 #ifndef STEP_CURRENT_GENERATOR_H
53 #define STEP_CURRENT_GENERATOR_H
121 device_.enforce_single_syn_type(syn_id);
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
std::vector< double_t > amp_times_
Definition: step_current_generator.h:94
Definition: lockptrdatum.h:40
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Declarations for base class Node.
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: step_current_generator.cpp:122
Base class for common properties of Stimulating Devices.
Definition: stimulating_device.h:117
bool has_proxies() const
Returns true if the node has proxies on remote threads.
Definition: step_current_generator.h:73
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
step_current_generator()
Definition: step_current_generator.cpp:80
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
Parameters_ P_
Definition: step_current_generator.h:114
void set(const DictionaryDatum &, Buffers_ &)
Set values from dicitonary.
Definition: step_current_generator.cpp:49
void set_status(const DictionaryDatum &)
Definition: step_current_generator.h:137
Definition: step_current_generator.h:106
Definition: step_current_generator.h:65
Store independent parameters of the model.
Definition: step_current_generator.h:93
Definition: nest_time.h:130
Parameters_()
Sets default parameter values.
Definition: step_current_generator.cpp:34
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: step_current_generator.h:119
void init_state_(const Node &)
Private function to initialize the state of a node to model defaults.
Definition: step_current_generator.cpp:97
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
Buffers_ B_
Definition: step_current_generator.h:115
std::vector< double_t > amp_values_
Definition: step_current_generator.h:95
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
void calibrate()
Re-calculate dependent parameters of the node.
Definition: step_current_generator.cpp:112
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: step_current_generator.cpp:104
double double_t
Double precision floating point numbers.
Definition: nest.h:93
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: step_current_generator.cpp:43
void get_status(DictionaryDatum &) const
Definition: step_current_generator.h:130
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
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
Default types used by the NEST kernel.
size_t idx_
index of current amplitude
Definition: step_current_generator.h:107
StimulatingDevice< CurrentEvent > device_
Definition: step_current_generator.h:113
Base class for all NEST network objects.
Definition: node.h:96
double_t amp_
current amplitude
Definition: step_current_generator.h:108
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62