23 #ifndef AC_GENERATOR_H
24 #define AC_GENERATOR_H
136 device_.enforce_single_syn_type(syn_id);
170 #endif //AC_GENERATOR_H
StimulatingDevice< CurrentEvent > device_
Definition: ac_generator.h:127
void init_state_(const Node &)
Private function to initialize the state of a node to model defaults.
Definition: ac_generator.cpp:101
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
double_t amp_
Amplitude of sine-current.
Definition: ac_generator.h:90
double_t freq_
Standard frequency in Hz.
Definition: ac_generator.h:92
Definition: lockptrdatum.h:40
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
void set(const DictionaryDatum &)
Set values from dicitonary.
Definition: ac_generator.cpp:69
Declarations for base class Node.
double_t A_10_
Definition: ac_generator.h:121
Base class for common properties of Stimulating Devices.
Definition: stimulating_device.h:117
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
ac_generator()
Definition: ac_generator.cpp:82
Definition: ac_generator.h:103
bool has_proxies() const
Returns true if the node has proxies on remote threads.
Definition: ac_generator.h:72
double_t phi_deg_
Phase of sine current (0-360 deg)
Definition: ac_generator.h:93
double_t A_11_
Definition: ac_generator.h:122
Event for electrical currents.
Definition: event.h:420
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: ac_generator.cpp:55
double_t y_1_
Definition: ac_generator.h:105
void calibrate()
Re-calculate dependent parameters of the node.
Definition: ac_generator.cpp:114
double_t offset_
Offset of sine-current.
Definition: ac_generator.h:91
double_t A_01_
Definition: ac_generator.h:120
State_()
Sets default parameter values.
Definition: ac_generator.cpp:45
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: ac_generator.h:134
double_t A_00_
Definition: ac_generator.h:119
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: ac_generator.cpp:109
Definition: nest_time.h:130
State_ S_
Definition: ac_generator.h:129
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
Parameters_ P_
Definition: ac_generator.h:128
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: ac_generator.cpp:63
Definition: ac_generator.h:89
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
Definition: ac_generator.h:114
double_t y_0_
Definition: ac_generator.h:104
void set_status(const DictionaryDatum &)
Definition: ac_generator.h:153
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
Default types used by the NEST kernel.
double_t omega_
Angelfrequency i rad/s.
Definition: ac_generator.h:115
void get_status(DictionaryDatum &) const
Definition: ac_generator.h:145
Definition: ac_generator.h:64
Base class for all NEST network objects.
Definition: node.h:96
double_t phi_rad_
Phase of sine current (0-2Pi rad)
Definition: ac_generator.h:116
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62
Variables_ V_
Definition: ac_generator.h:130
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: ac_generator.cpp:136
Parameters_()
Sets default parameter values.
Definition: ac_generator.cpp:38