23 #ifndef PULSEPACKET_GENERATOR_H
24 #define PULSEPACKET_GENERATOR_H
161 device_.enforce_single_syn_type(syn_id);
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
Definition: lockptrdatum.h:40
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Declarations for base class Node.
void calibrate()
Re-calculate dependent parameters of the node.
Definition: pulsepacket_generator.cpp:118
librandom::NormalRandomDev norm_dev_
random deviate generator
Definition: pulsepacket_generator.h:131
Variables_ V_
Definition: pulsepacket_generator.h:155
Base class for common properties of Stimulating Devices.
Definition: stimulating_device.h:117
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: pulsepacket_generator.h:159
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
pulsepacket_generator()
Definition: pulsepacket_generator.cpp:90
double_t sdev_
standard deviation of the packet
Definition: pulsepacket_generator.h:105
Create normal (Gaussian) random numbers with uniform variance.
Definition: normal_randomdev.h:59
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
std::deque< long_t > spiketimes_
Definition: pulsepacket_generator.h:124
std::vector< double_t > pulse_times_
times of pulses
Definition: pulsepacket_generator.h:103
Parameters_()
Sets default parameter values.
Definition: pulsepacket_generator.cpp:39
bool has_proxies() const
Returns true if the node has proxies on remote threads.
Definition: pulsepacket_generator.h:81
Parameters_ P_
Definition: pulsepacket_generator.h:153
class pulsepacket_generator
Definition: pulsepacket_generator.h:71
StimulatingDevice< SpikeEvent > device_
Definition: pulsepacket_generator.h:151
size_t stop_center_idx_
Definition: pulsepacket_generator.h:142
Variables_()
Definition: pulsepacket_generator.cpp:46
void init_state_(const Node &)
Private function to initialize the state of a node to model defaults.
Definition: pulsepacket_generator.cpp:106
Definition: nest_time.h:130
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: pulsepacket_generator.cpp:113
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
void set_status(const DictionaryDatum &)
Definition: pulsepacket_generator.h:177
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: pulsepacket_generator.cpp:145
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: pulsepacket_generator.cpp:56
double_t sdev_tolerance_
Definition: pulsepacket_generator.h:107
double_t tolerance
Definition: pulsepacket_generator.h:143
Buffers_ B_
Definition: pulsepacket_generator.h:154
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
size_t start_center_idx_
Indices into sorted vector of sorted pulse-center times (P_.pulse_times_).
Definition: pulsepacket_generator.h:141
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
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
void get_status(DictionaryDatum &) const
Definition: pulsepacket_generator.h:170
Definition: pulsepacket_generator.h:123
Default types used by the NEST kernel.
Event for spike information.
Definition: event.h:320
long_t a_
number of pulses in a packet
Definition: pulsepacket_generator.h:104
void set(const DictionaryDatum &, pulsepacket_generator &)
Set values from dicitonary.
Definition: pulsepacket_generator.cpp:63
Base class for all NEST network objects.
Definition: node.h:96
Definition: pulsepacket_generator.h:129
Definition: pulsepacket_generator.h:101
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62