23 #ifndef SINUSOIDAL_GAMMA_GENERATOR_H
24 #define SINUSOIDAL_GAMMA_GENERATOR_H
277 device_.enforce_single_syn_type(syn_id);
312 if (receptor_type != 0)
343 #endif // SINUSOIDAL_GAMMA_GENERATOR_H
AC Gamma Generator.
Definition: sinusoidal_gamma_generator.h:120
const Name recordables("recordables")
List of recordable state data (Device parameters)
Definition: nest_names.h:244
double_t t_ms_
current time in ms, for communication with event_hook()
Definition: sinusoidal_gamma_generator.h:252
librandom::RngPtr rng_
thread-specific random generator
Definition: sinusoidal_gamma_generator.h:254
bool local_receiver() const
Allow multimeter to connect to local instances.
Definition: sinusoidal_gamma_generator.h:149
State_()
Sets default state value.
Definition: sinusoidal_gamma_generator.cpp:90
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
bool is_model_prototype() const
Returns true if node is model prototype.
Definition: node.h:795
void calibrate()
Re-calculate dependent parameters of the node.
Definition: sinusoidal_gamma_generator.cpp:235
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Declarations for base class Node.
void set(const DictionaryDatum &, const Parameters_ &)
Set values from dicitonary.
"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 individual_spike_trains_
Emit individual spike trains for each target, or same for all?
Definition: sinusoidal_gamma_generator.h:176
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
static RecordablesMap< sinusoidal_gamma_generator > recordablesMap_
Definition: sinusoidal_gamma_generator.h:266
double_t h_
time resolution (ms)
Definition: sinusoidal_gamma_generator.h:251
UniversalDataLogger< sinusoidal_gamma_generator > logger_
Definition: sinusoidal_gamma_generator.h:227
double_t order_
gamma order
Definition: sinusoidal_gamma_generator.h:167
Buffers_(sinusoidal_gamma_generator &)
Definition: sinusoidal_gamma_generator.cpp:95
std::vector< double > Lambda_t0_
Integral Lambda from most recent spike up to t0_.
Definition: sinusoidal_gamma_generator.h:243
size_t num_trains_
Number of targets.
Definition: sinusoidal_gamma_generator.h:187
double_t om_
Frequency in radian.
Definition: sinusoidal_gamma_generator.h:161
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: sinusoidal_gamma_generator.cpp:113
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
State_ S_
Definition: sinusoidal_gamma_generator.h:269
Parameters_()
Sets default parameter values.
Definition: sinusoidal_gamma_generator.cpp:53
StimulatingDevice< SpikeEvent > device_
Definition: sinusoidal_gamma_generator.h:265
std::vector< double > t0_ms_
Beginning of current integration interval in ms.
Definition: sinusoidal_gamma_generator.h:237
void set_status(const DictionaryDatum &)
Definition: sinusoidal_gamma_generator.h:327
double_t phi_
phase in radian
Definition: sinusoidal_gamma_generator.h:164
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: sinusoidal_gamma_generator.h:275
Map names of recordables to data access functions.
Definition: recordables_map.h:58
friend class UniversalDataLogger< sinusoidal_gamma_generator >
Definition: sinusoidal_gamma_generator.h:217
Definition: sinusoidal_gamma_generator.h:159
void event_hook(DSSpikeEvent &)
Modify Event object parameters during event delivery.
Definition: sinusoidal_gamma_generator.cpp:310
Definition: nest_time.h:130
Buffers of the model.
Definition: sinusoidal_gamma_generator.h:224
void set(const DictionaryDatum &, const sinusoidal_gamma_generator &)
Set values from dicitonary.
Definition: sinusoidal_gamma_generator.cpp:127
std::string get_name() const
Return class name.
Definition: node.cpp:83
double_t rate_
current rate, kept for recording
Definition: sinusoidal_gamma_generator.h:205
long_t t_steps_
current time in steps, for communication with event_hook()
Definition: sinusoidal_gamma_generator.h:253
Exception to be thrown if the specified receptor type does not exist in the node. ...
Definition: exceptions.h:254
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
double_t hazard_(port) const
compute hazard for given target index, including time-step factor
Definition: sinusoidal_gamma_generator.cpp:260
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: sinusoidal_gamma_generator.cpp:271
void handle(DataLoggingRequest &)
Handler for universal data logging request.
Definition: sinusoidal_gamma_generator.cpp:324
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
double_t dc_
DC amplitude.
Definition: sinusoidal_gamma_generator.h:170
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
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
port handles_test_event(DataLoggingRequest &, rport)
Definition: sinusoidal_gamma_generator.h:310
Request data to be logged/logged data to be sent.
Definition: event.h:486
double_t get_rate_() const
Definition: sinusoidal_gamma_generator.h:257
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
double_t ac_
AC amplitude.
Definition: sinusoidal_gamma_generator.h:173
Buffers_ B_
Definition: sinusoidal_gamma_generator.h:271
sinusoidal_gamma_generator()
Definition: sinusoidal_gamma_generator.cpp:174
Parameters_ P_prev_
parameter values prior to last SetStatus
Definition: sinusoidal_gamma_generator.h:245
Default types used by the NEST kernel.
Event for spike information.
Definition: event.h:320
Parameters_ P_
Definition: sinusoidal_gamma_generator.h:268
Base class for all NEST network objects.
Definition: node.h:96
double_t deltaLambda_(const Parameters_ &, double_t, double_t) const
compute deltaLambda for given parameters from ta to tb
Definition: sinusoidal_gamma_generator.cpp:218
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: sinusoidal_gamma_generator.cpp:123
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: sinusoidal_gamma_generator.cpp:205
Variables_ V_
Definition: sinusoidal_gamma_generator.h:270
void init_state_(const Node &)
Private function to initialize the state of a node to model defaults.
Definition: sinusoidal_gamma_generator.cpp:197
bool has_proxies() const
Model can be switched between proxies (single spike train) and not.
Definition: sinusoidal_gamma_generator.h:146
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
Definition: sinusoidal_gamma_generator.h:203
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62
Parameters_ & operator=(const Parameters_ &p)
Definition: sinusoidal_gamma_generator.cpp:74
void get_status(DictionaryDatum &) const
Definition: sinusoidal_gamma_generator.h:318
Definition: sinusoidal_gamma_generator.h:250