23#ifndef POISSON_GENERATOR_H
24#define POISSON_GENERATOR_H
118 void update(
Time const&,
const long,
const long )
override;
157 e.set_sender( *
this );
158 return target.handles_test_event( e, receptor_type );
163 e.set_sender( *
this );
164 return target.handles_test_event( e, receptor_type );
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
"Callback request event" for use in Device.
Definition event.h:521
Base class for all NEST network objects.
Definition node.h:99
virtual void event_hook(DSSpikeEvent &)
Modify Event object parameters during event delivery.
Definition node.cpp:586
Event for spike information.
Definition event.h:418
Base class for common properties of StimulationDevices.
Definition stimulation_device.h:154
void enforce_single_syn_type(synindex)
Throws IllegalConnection if synapse id differs from initial synapse id.
Definition stimulation_device.cpp:62
Type
Device type.
Definition stimulation_device.h:187
@ SPIKE_GENERATOR
Definition stimulation_device.h:189
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition stimulation_device.cpp:125
void get_status(Dictionary &d) const override
Export properties of the node by setting entries in the status dictionary.
Definition stimulation_device.cpp:168
Definition nest_time.h:135
Definition poisson_generator.h:88
void pre_run_hook() override
Re-calculate dependent parameters of the node.
Definition poisson_generator.cpp:108
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition poisson_generator.h:176
void update(Time const &, const long, const long) override
Advance the state of the node in time through the given interval.
Definition poisson_generator.cpp:123
void init_buffers_() override
Configure persistent internal data structures.
Definition poisson_generator.cpp:102
StimulationDevice::Type get_type() const override
Definition poisson_generator.h:191
poisson_generator()
The generator is threaded, so the RNG to use is determined at run-time, depending on thread.
Definition poisson_generator.cpp:78
void init_state_() override
Configure state variables depending on runtime information.
Definition poisson_generator.cpp:96
Parameters_ P_
Definition poisson_generator.h:145
Variables_ V_
Definition poisson_generator.h:146
size_t send_test_event(Node &, size_t, synindex, bool) override
Send an event to the receiving_node passed as an argument.
Definition poisson_generator.h:150
void get_status(Dictionary &) const override
Export properties of the node by setting entries in the status dictionary.
Definition poisson_generator.h:169
void set_data_from_stimulation_backend(std::vector< double > &input_param) override
Definition poisson_generator.cpp:159
void event_hook(DSSpikeEvent &) override
Modify Event object parameters during event delivery.
Definition poisson_generator.cpp:143
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
void register_poisson_generator(const std::string &name)
Definition poisson_generator.cpp:38
size_t synindex
For enumerations of synapse types.
Definition nest_types.h:115
Store independent parameters of the model.
Definition poisson_generator.h:127
void set(const Dictionary &, Node *node)
Set values from dictionary.
Definition poisson_generator.cpp:64
void get(Dictionary &) const
Store current values in dictionary.
Definition poisson_generator.cpp:58
Parameters_()
Sets default parameter values.
Definition poisson_generator.cpp:47
double rate_
process rate in Hz
Definition poisson_generator.h:128
Definition poisson_generator.h:139
poisson_distribution poisson_dist_
poisson distribution
Definition poisson_generator.h:140