231 e.set_sender( *
this );
233 return target.handles_test_event( e, receptor_type );
239 if ( receptor_type != 0 )
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
Event for electrical currents.
Definition event.h:569
Request data to be logged/logged data to be sent.
Definition event.h:636
Base class for all NEST network objects.
Definition node.h:99
std::string get_name() const
Return class name.
Definition node.cpp:105
Map names of recordables to data access functions.
Definition recordables_map.h:61
Base class for common properties of StimulationDevices.
Definition stimulation_device.h:154
void enforce_single_syn_type(synindex)
Throws IllegalConnection if synapse id differs from initial synapse id.
Definition stimulation_device.cpp:62
Type
Device type.
Definition stimulation_device.h:187
@ CURRENT_GENERATOR
Definition stimulation_device.h:188
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition stimulation_device.cpp:125
void get_status(Dictionary &d) const override
Export properties of the node by setting entries in the status dictionary.
Definition stimulation_device.cpp:168
Definition nest_time.h:135
Exception to be thrown if the specified receptor type does not exist in the node.
Definition exceptions.h:417
Definition ac_generator.h:118
void set_data_from_stimulation_backend(std::vector< double > &input_param) override
Definition ac_generator.cpp:239
void init_buffers_() override
Configure persistent internal data structures.
Definition ac_generator.cpp:172
Buffers_ B_
Definition ac_generator.h:222
void init_state_() override
Configure state variables depending on runtime information.
Definition ac_generator.cpp:166
void update(Time const &, const long, const long) override
Advance the state of the node in time through the given interval.
Definition ac_generator.cpp:204
State_ S_
Definition ac_generator.h:220
void get_status(Dictionary &) const override
Export properties of the node by setting entries in the status dictionary.
Definition ac_generator.h:247
double get_I_() const
Definition ac_generator.h:211
Variables_ V_
Definition ac_generator.h:221
size_t handles_test_event(DataLoggingRequest &, size_t) override
Definition ac_generator.h:237
ac_generator()
Definition ac_generator.cpp:143
static RecordablesMap< ac_generator > recordablesMap_
Definition ac_generator.h:218
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition ac_generator.h:257
StimulationDevice::Type get_type() const override
Definition ac_generator.h:280
bool local_receiver() const override
Allow multimeter to connect to local instances.
Definition ac_generator.h:274
Parameters_ P_
Definition ac_generator.h:219
size_t send_test_event(Node &, size_t, synindex, bool) override
Send an event to the receiving_node passed as an argument.
Definition ac_generator.h:226
void pre_run_hook() override
Re-calculate dependent parameters of the node.
Definition ac_generator.cpp:179
friend class UniversalDataLogger< ac_generator >
Definition ac_generator.h:185
void handle(DataLoggingRequest &) override
Handler for universal data logging request.
Definition ac_generator.cpp:229
virtual size_t handles_test_event(SpikeEvent &, size_t receptor_type)
Check if the node can handle a particular event and receptor type.
Definition node.cpp:271
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition node.cpp:265
const std::string recordables("recordables")
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
void register_ac_generator(const std::string &name)
Definition ac_generator.cpp:42
size_t synindex
For enumerations of synapse types.
Definition nest_types.h:115
Buffers of the model.
Definition ac_generator.h:193
UniversalDataLogger< ac_generator > logger_
Definition ac_generator.h:196
Definition ac_generator.h:153
double freq_
Standard frequency in Hz.
Definition ac_generator.h:156
Parameters_()
Sets default parameter values.
Definition ac_generator.cpp:60
double offset_
Offset of sine-current.
Definition ac_generator.h:155
double phi_deg_
Phase of sine current (0-360 deg)
Definition ac_generator.h:157
void get(Dictionary &) const
Store current values in Dictionary.
Definition ac_generator.cpp:114
double amp_
Amplitude of sine-current.
Definition ac_generator.h:154
Parameters_ & operator=(const Parameters_ &p)
Definition ac_generator.cpp:77
void set(const Dictionary &, Node *node)
Set values from Dictionary.
Definition ac_generator.cpp:130
Definition ac_generator.h:170
State_()
Sets default parameter values.
Definition ac_generator.cpp:92
double I_
Instantaneous current value; used for recording current Required to handle current values when device...
Definition ac_generator.h:173
void get(Dictionary &) const
Store current values in Dictionary.
Definition ac_generator.cpp:123
double y_0_
Definition ac_generator.h:171
double y_1_
Definition ac_generator.h:172
Definition ac_generator.h:202
double A_01_
Definition ac_generator.h:205
double A_10_
Definition ac_generator.h:206
double A_11_
Definition ac_generator.h:207
double A_00_
Definition ac_generator.h:204