77 #ifndef PARROT_NEURON_H
78 #define PARROT_NEURON_H
144 if (receptor_type != 0)
151 #endif //PARROT_NEURON_H
Definition of Archiving_Node which is capable of recording and managing a spike history.
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
parrot_neuron()
Definition: parrot_neuron.cpp:36
void set_status(const DictionaryDatum &)
Definition: parrot_neuron.cpp:73
RingBuffer n_spikes_
Definition: parrot_neuron.h:126
void calibrate()
Re-calculate dependent parameters of the node.
Definition: parrot_neuron.h:117
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
void init_state_(const Node &)
Private function to initialize the state of a node to model defaults.
Definition: parrot_neuron.h:115
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: parrot_neuron.h:133
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: parrot_neuron.cpp:40
Definition: nest_time.h:130
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: parrot_neuron.h:142
std::string get_name() const
Return class name.
Definition: node.cpp:83
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: parrot_neuron.cpp:78
void get_status(DictionaryDatum &) const
Definition: parrot_neuron.cpp:68
Buffers_ B_
Definition: parrot_neuron.h:129
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
a node which archives spike history for the purposes of timing dependent plasticity ...
Definition: archiving_node.h:50
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
Definition: parrot_neuron.h:90
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
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: parrot_neuron.cpp:46
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
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
Buffers and accumulates the number of incoming spikes per time step; RingBuffer stores doubles; for n...
Definition: parrot_neuron.h:125
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62
Buffer Layout.
Definition: ring_buffer.h:77