23 #ifndef GAMMA_SUP_GENERATOR_H
24 #define GAMMA_SUP_GENERATOR_H
194 device_.enforce_single_syn_type(syn_id);
double_t rate_
rate of component gamma process [Hz]
Definition: gamma_sup_generator.h:121
bool is_off_grid() const
Returns true if the node if it sends/receives -grid events This is used to discriminate between diffe...
Definition: gamma_sup_generator.h:83
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
void event_hook(DSSpikeEvent &)
Send out spikes.
Definition: gamma_sup_generator.cpp:224
Definition: lockptrdatum.h:40
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Declarations for base class Node.
ulong_t gamma_shape_
gamma shape parameter [1]
Definition: gamma_sup_generator.h:122
Internal_states_(size_t num_bins, ulong_t ini_occ_ref, ulong_t ini_occ_act)
initialize occupation numbers
Definition: gamma_sup_generator.cpp:38
"Callback request event" for use in Device.
Definition: event.h:374
Base class for common properties of Stimulating Devices.
Definition: stimulating_device.h:117
const rport invalid_port_
Value for invalid connection port number.
Definition: nest.h:160
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: gamma_sup_generator.cpp:173
Definition: gamma_sup_generator.h:154
void set(const DictionaryDatum &)
Set values from dicitonary.
Definition: gamma_sup_generator.cpp:126
std::vector< Internal_states_ > internal_states_
Occupation numbers of the internal states of the generator.
Definition: gamma_sup_generator.h:159
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
ulong_t update(double_t transition_prob, librandom::RngPtr rng)
update age dist and generate spikes
Definition: gamma_sup_generator.cpp:48
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: gamma_sup_generator.cpp:119
void init_state_(const Node &)
Private function to initialize the state of a node to model defaults.
Definition: gamma_sup_generator.cpp:166
librandom::PoissonRandomDev poisson_dev_
random deviate generator
Definition: gamma_sup_generator.h:144
Definition: gamma_sup_generator.h:165
void get_status(DictionaryDatum &) const
Definition: gamma_sup_generator.h:215
void set_status(const DictionaryDatum &)
Definition: gamma_sup_generator.h:222
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
Variables_ V_
Definition: gamma_sup_generator.h:187
gamma_sup_generator()
Definition: gamma_sup_generator.cpp:149
StimulatingDevice< CurrentEvent > device_
Definition: gamma_sup_generator.h:185
void update(Time const &, const long_t, const long_t)
Update state.
Definition: gamma_sup_generator.cpp:203
double_t t_max_active_
end of generator activity in slice
Definition: gamma_sup_generator.h:179
std::vector< ulong_t > occ_
occupation numbers of internal states
Definition: gamma_sup_generator.h:145
Definition: nest_time.h:130
double_t transition_prob_
transition probabililty to go to next internal state
Definition: gamma_sup_generator.h:166
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
Class PoissonRandomDev Create Poisson distributed random numbers.
Definition: poisson_randomdev.h:103
Buffers_ B_
Definition: gamma_sup_generator.h:188
ulong_t n_proc_
number of component processes
Definition: gamma_sup_generator.h:123
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
size_t num_targets_
Number of targets.
Definition: gamma_sup_generator.h:131
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
Definition: gamma_sup_generator.h:141
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
Store independent parameters of the model.
Definition: gamma_sup_generator.h:120
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
Class BinomialRNG.
Definition: binomial_randomdev.h:85
Generator of the spike output of a population of gamma processes with integer shape parameter...
Definition: gamma_sup_generator.h:74
Parameters_ P_
Definition: gamma_sup_generator.h:186
double_t t_min_active_
start of generator activity in slice
Definition: gamma_sup_generator.h:178
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
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: gamma_sup_generator.h:192
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62
Parameters_()
Sets default parameter values.
Definition: gamma_sup_generator.cpp:108
void calibrate()
Re-calculate dependent parameters of the node.
Definition: gamma_sup_generator.cpp:178
bool has_proxies() const
Returns true if the node has proxies on remote threads.
Definition: gamma_sup_generator.h:82
librandom::BinomialRandomDev bino_dev_
random deviate generator
Definition: gamma_sup_generator.h:143
unsigned long ulong_t
Unsigned long_t.
Definition: nest.h:98