23 #ifndef SPIKE_GENERATOR_H
24 #define SPIKE_GENERATOR_H
261 device_.enforce_single_syn_type(syn_id);
spike_generator()
Definition: spike_generator.cpp:220
bool shift_now_spikes_
Shift spike times at present to next step.
Definition: spike_generator.h:225
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
StimulatingDevice< SpikeEvent > device_
Definition: spike_generator.h:252
Definition: spike_generator.h:211
Definition: lockptrdatum.h:40
void calibrate()
Re-calculate dependent parameters of the node.
Definition: spike_generator.cpp:252
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Declarations for base class Node.
State_ S_
Definition: spike_generator.h:255
"Callback request event" for use in Device.
Definition: event.h:374
void set_status(const DictionaryDatum &)
Definition: spike_generator.h:285
Base class for common properties of Stimulating Devices.
Definition: stimulating_device.h:117
std::vector< double > spike_offsets_
Spike time offset, if using precise_times_.
Definition: spike_generator.h:214
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: spike_generator.cpp:247
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: spike_generator.h:259
std::vector< double > spike_weights_
Spike weights as double.
Definition: spike_generator.h:216
void event_hook(DSSpikeEvent &)
Modify Event object parameters during event delivery.
Definition: spike_generator.cpp:318
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: spike_generator.cpp:65
Definition: nest_time.h:130
void set(const DictionaryDatum &, State_ &, const Time &, const Time &)
Set values from dicitonary.
Definition: spike_generator.cpp:149
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
Declarations for class Network.
bool allow_offgrid_spikes_
Allow and round up spikes not on steps; irrelevant if precise_times_.
Definition: spike_generator.h:222
Parameters_ P_
Definition: spike_generator.h:254
const Name origin("origin")
Device parameters.
Definition: nest_names.h:215
void get_status(DictionaryDatum &) const
Definition: spike_generator.h:278
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: spike_generator.cpp:262
double double_t
Double precision floating point numbers.
Definition: nest.h:93
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
friend struct ms
Definition: nest_time.h:173
Parameters_()
Sets default parameter values.
Definition: spike_generator.cpp:38
static Network * network()
Return pointer to network driver class.
Definition: node.h:813
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
void assert_valid_spike_time_and_insert_(double, const Time &, const Time &)
Insert spike time to arrays, throw BadProperty for invalid spike times.
Definition: spike_generator.cpp:90
void init_state_(const Node &)
Private function to initialize the state of a node to model defaults.
Definition: spike_generator.cpp:239
bool has_proxies() const
Returns true if the node has proxies on remote threads.
Definition: spike_generator.h:180
Default types used by the NEST kernel.
Definition: spike_generator.h:203
Event for spike information.
Definition: event.h:320
Emit spikes at given times.
Definition: spike_generator.h:173
Base class for all NEST network objects.
Definition: node.h:96
std::vector< Time > spike_stamps_
Spike time stamp as Time, rel to origin_.
Definition: spike_generator.h:213
size_t position_
index of next spike to deliver
Definition: spike_generator.h:204
virtual void event_hook(DSSpikeEvent &)
Modify Event object parameters during event delivery.
Definition: node.cpp:301
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62
bool precise_times_
Interpret spike times as precise, i.e. send as step and offset.
Definition: spike_generator.h:219
State_()
Sets default state value.
Definition: spike_generator.cpp:56