23 #ifndef POISSON_GENERATOR_PS_H
24 #define POISSON_GENERATOR_PS_H
185 device_.enforce_single_syn_type(syn_id);
228 #endif //POISSON_GENERATOR_PS_H
poisson_generator_ps()
Definition: poisson_generator_ps.cpp:77
Time t_max_active_
end of generator activity in slice
Definition: poisson_generator_ps.h:170
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
Store independent parameters of the model.
Definition: poisson_generator_ps.h:120
bool is_model_prototype() const
Returns true if node is model prototype.
Definition: node.h:795
Definition: lockptrdatum.h:40
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Declarations for base class Node.
"Callback request event" for use in Device.
Definition: event.h:374
Base class for common properties of Stimulating Devices.
Definition: stimulating_device.h:117
bool is_off_grid() const
Returns true if the node if it sends/receives -grid events This is used to discriminate between diffe...
Definition: poisson_generator_ps.h:83
const rport invalid_port_
Value for invalid connection port number.
Definition: nest.h:160
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: poisson_generator_ps.cpp:48
Definition: poisson_generator_ps.h:140
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
double_t inv_rate_ms_
1000.0 / Parameters_.rate_
Definition: poisson_generator_ps.h:156
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: poisson_generator_ps.cpp:101
size_t num_targets_
Number of targets.
Definition: poisson_generator_ps.h:130
Parameters_()
Sets default parameter values.
Definition: poisson_generator_ps.cpp:38
void calibrate()
Re-calculate dependent parameters of the node.
Definition: poisson_generator_ps.cpp:110
void set_status(const DictionaryDatum &)
Definition: poisson_generator_ps.h:212
Poisson generator (with dead time) with precisely timed spikes.
Definition: poisson_generator_ps.h:74
Definition: nest_time.h:130
Parameters_ P_
Definition: poisson_generator_ps.h:177
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: poisson_generator_ps.h:183
void set(const DictionaryDatum &)
Set values from dicitonary.
Definition: poisson_generator_ps.cpp:54
Time t_min_active_
start of generator activity in slice
Definition: poisson_generator_ps.h:169
std::pair< Time, double_t > SpikeTime
Definition: poisson_generator_ps.h:141
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
librandom::ExpRandomDev exp_dev_
random deviate generator
Definition: poisson_generator_ps.h:157
void get_status(DictionaryDatum &) const
Definition: poisson_generator_ps.h:205
double_t rate_
process rate [Hz]
Definition: poisson_generator_ps.h:121
Definition: poisson_generator_ps.h:155
Buffers_ B_
Definition: poisson_generator_ps.h:179
void update(Time const &, const long_t, const long_t)
Update state.
Definition: poisson_generator_ps.cpp:151
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
double double_t
Double precision floating point numbers.
Definition: nest.h:93
Variables_ V_
Definition: poisson_generator_ps.h:178
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 dead_time_
dead time [ms]
Definition: poisson_generator_ps.h:122
std::vector< SpikeTime > next_spike_
Time of next spike represented as time stamp and offset, for each target.
Definition: poisson_generator_ps.h:150
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
void init_state_(const Node &)
Private function to initialize the state of a node to model defaults.
Definition: poisson_generator_ps.cpp:94
bool has_proxies() const
Returns true if the node has proxies on remote threads.
Definition: poisson_generator_ps.h:82
virtual void event_hook(DSSpikeEvent &)
Modify Event object parameters during event delivery.
Definition: node.cpp:301
const Name p("p")
current release probability (Tsodyks2_connection)
Definition: nest_names.h:218
Class ExpRandomDev Create exponential random numbers.
Definition: exp_randomdev.h:52
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62
StimulatingDevice< CurrentEvent > device_
Definition: poisson_generator_ps.h:176
void event_hook(DSSpikeEvent &)
Send out spikes.
Definition: poisson_generator_ps.cpp:180