NEST main@caf0ae8
 
Loading...
Searching...
No Matches
nest::glif_psc_double_alpha Class Reference

#include <glif_psc_double_alpha.h>

Inheritance diagram for nest::glif_psc_double_alpha:
[legend]
Collaboration diagram for nest::glif_psc_double_alpha:
[legend]

Classes

struct  Buffers_
 
struct  Parameters_
 
struct  State_
 
struct  Variables_
 

Public Member Functions

 glif_psc_double_alpha ()
 
 glif_psc_double_alpha (const glif_psc_double_alpha &)
 
size_t send_test_event (Node &, size_t, synindex, bool) override
 Send an event to the receiving_node passed as an argument.
 
void handle (SpikeEvent &) override
 Handle incoming spike events.
 
void handle (CurrentEvent &) override
 Handler for current events.
 
void handle (DataLoggingRequest &) override
 Handler for universal data logging request.
 
size_t handles_test_event (SpikeEvent &, size_t) override
 Check if the node can handle a particular event and receptor type.
 
size_t handles_test_event (CurrentEvent &, size_t) override
 
size_t handles_test_event (DataLoggingRequest &, size_t) override
 
void get_status (Dictionary &) const override
 Export properties of the node by setting entries in the status dictionary.
 
void set_status (const Dictionary &) override
 Change properties of the node according to the entries in the dictionary.
 
virtual void handle (SpikeEvent &e)
 Handle incoming spike events.
 
virtual void handle (WeightRecorderEvent &e)
 Handle incoming weight recording events.
 
virtual void handle (RateEvent &e)
 Handler for rate events.
 
virtual void handle (DataLoggingRequest &e)
 Handler for universal data logging request.
 
virtual void handle (DataLoggingReply &e)
 Handler for universal data logging request.
 
virtual void handle (CurrentEvent &e)
 Handler for current events.
 
virtual void handle (ConductanceEvent &e)
 Handler for conductance events.
 
virtual void handle (DoubleDataEvent &e)
 Handler for DoubleData events.
 
virtual void handle (GapJunctionEvent &e)
 Handler for gap junction events.
 
virtual void handle (InstantaneousRateConnectionEvent &e)
 Handler for rate neuron events.
 
virtual void handle (DiffusionConnectionEvent &e)
 Handler for rate neuron events.
 
virtual void handle (DelayedRateConnectionEvent &e)
 Handler for delay rate neuron events.
 
virtual void handle (LearningSignalConnectionEvent &e)
 Handler for learning signal connection events.
 
virtual void handle (SICEvent &e)
 Handler for slow inward current events (SICEvents).
 
virtual size_t handles_test_event (SpikeEvent &, size_t receptor_type)
 Check if the node can handle a particular event and receptor type.
 
virtual size_t handles_test_event (WeightRecorderEvent &, size_t receptor_type)
 
virtual size_t handles_test_event (RateEvent &, size_t receptor_type)
 
virtual size_t handles_test_event (DataLoggingRequest &, size_t receptor_type)
 
virtual size_t handles_test_event (CurrentEvent &, size_t receptor_type)
 
virtual size_t handles_test_event (ConductanceEvent &, size_t receptor_type)
 
virtual size_t handles_test_event (DoubleDataEvent &, size_t receptor_type)
 
virtual size_t handles_test_event (DSSpikeEvent &, size_t receptor_type)
 
virtual size_t handles_test_event (DSCurrentEvent &, size_t receptor_type)
 
virtual size_t handles_test_event (GapJunctionEvent &, size_t receptor_type)
 
virtual size_t handles_test_event (InstantaneousRateConnectionEvent &, size_t receptor_type)
 
virtual size_t handles_test_event (DiffusionConnectionEvent &, size_t receptor_type)
 
virtual size_t handles_test_event (DelayedRateConnectionEvent &, size_t receptor_type)
 
virtual size_t handles_test_event (LearningSignalConnectionEvent &, size_t receptor_type)
 
virtual size_t handles_test_event (SICEvent &, size_t receptor_type)
 
- Public Member Functions inherited from nest::ArchivingNode
 ArchivingNode ()
 
 ArchivingNode (const ArchivingNode &)
 
double get_K_value (double t) override
 Return the Kminus (synaptic trace) value at time t (given in ms).
 
void get_K_values (double t, double &Kminus, double &nearest_neighbor_Kminus, double &Kminus_triplet) override
 Write the different STDP K values at time t (in ms) to the provided locations.
 
double get_K_triplet_value (const std::deque< histentry >::iterator &iter)
 Return the triplet Kminus value for the associated iterator.
 
void get_history (double t1, double t2, std::deque< histentry >::iterator *start, std::deque< histentry >::iterator *finish) override
 Return the spike times (in steps) of spikes which occurred in the range [t1,t2].
 
void register_stdp_connection (double t_first_read, double delay) override
 Register a new incoming STDP connection.
 
- Public Member Functions inherited from nest::StructuralPlasticityNode
 StructuralPlasticityNode ()
 
 StructuralPlasticityNode (const StructuralPlasticityNode &)
 
double get_Ca_minus () const override
 return the current value of Ca_minus
 
double get_synaptic_elements (std::string n) const override
 Get the number of synaptic element for the current Node.
 
int get_synaptic_elements_vacant (std::string n) const override
 Get the number of synaptic elements of type n which are available for new synapse creation.
 
int get_synaptic_elements_connected (std::string n) const override
 Get the number of synaptic element of type n which are currently connected.
 
std::map< std::string, double > get_synaptic_elements () const override
 Get the number of all synaptic elements for the current Node.
 
void update_synaptic_elements (double t) override
 Change the number of synaptic elements in the node depending on the dynamics described by the corresponding growth curve.
 
void decay_synaptic_elements_vacant () override
 Delete a certain portion of the vacant synaptic elements which are not in use.
 
void connect_synaptic_element (std::string name, int n) override
 Change the number of connected synaptic elements by n.
 
void get_status (Dictionary &d) const override
 Export properties of the node by setting entries in the status dictionary.
 
void set_status (const Dictionary &d) override
 Change properties of the node according to the entries in the dictionary.
 
double get_tau_Ca () const
 Retrieve the current value of tau_Ca which defines the exponential decay constant of the intracellular calcium concentration.
 
- Public Member Functions inherited from nest::Node
 Node ()
 
 Node (Node const &)
 
virtual ~Node ()
 
virtual Node * clone () const
 This function creates a new object by calling the derived class' copy constructor and returning its pointer.
 
virtual bool has_proxies () const
 Returns true if the node has proxies on remote threads.
 
virtual bool supports_urbanczik_archiving () const
 Returns true if the node supports the Urbanczik-Senn plasticity rule.
 
virtual bool local_receiver () const
 Returns true if the node only receives events from nodes/devices on the same thread.
 
virtual bool one_node_per_process () const
 Returns true if the node exists only once per process, but does not have proxies on remote threads.
 
virtual bool is_off_grid () const
 Returns true if the node sends/receives off-grid events.
 
virtual bool is_proxy () const
 Returns true if the node is a proxy node.
 
std::string get_name () const
 Return class name.
 
virtual std::string get_element_type () const
 Return the element type of the node.
 
size_t get_node_id () const
 Return global Network ID.
 
int get_model_id () const
 Return model ID of the node.
 
bool is_frozen () const
 Returns true if node is frozen, i.e., shall not be updated.
 
bool node_uses_wfr () const
 Returns true if the node uses the waveform relaxation method.
 
void set_node_uses_wfr (const bool)
 Sets node_uses_wfr_ member variable (to be able to set it to "true" for any class derived from Node)
 
void init ()
 Initialize node prior to first simulation after node has been created.
 
virtual void calibrate_time (const TimeConverter &)
 Re-calculate time-based properties of the node.
 
virtual void post_run_cleanup ()
 Cleanup node after Run.
 
virtual void finalize ()
 Finalize node.
 
virtual bool wfr_update (Time const &, const long, const long)
 Advance the state of the node in time through the given interval (see Node::update() for more details).
 
virtual void sends_secondary_event (GapJunctionEvent &ge)
 Required to check, if source neuron may send a SecondaryEvent.
 
virtual void sends_secondary_event (InstantaneousRateConnectionEvent &re)
 Required to check, if source neuron may send a SecondaryEvent.
 
virtual void sends_secondary_event (DiffusionConnectionEvent &de)
 Required to check, if source neuron may send a SecondaryEvent.
 
virtual void sends_secondary_event (DelayedRateConnectionEvent &re)
 Required to check, if source neuron may send a SecondaryEvent.
 
virtual void sends_secondary_event (LearningSignalConnectionEvent &re)
 Required to check if source node may send a LearningSignalConnectionEvent.
 
virtual void sends_secondary_event (SICEvent &sic)
 Required to check if source node may send a SICEvent.
 
virtual void register_eprop_connection ()
 Registers an eprop connection.
 
virtual void initialize_update_history ()
 Initializes the update history.
 
virtual long get_shift () const
 Retrieves the temporal shift of the signal.
 
virtual void write_update_to_history (const long t_previous_update, const long t_current_update, const bool is_flush_event, const bool previous_was_flush_event)
 Registers the current update in the update history and deregisters the previous update.
 
virtual void erase_used_eprop_history ()
 Erases used e-prop history for bsshslm_2020 models.
 
virtual void erase_used_eprop_history (const long t_spike, const long t_spike_previous)
 Erases used e-prop history based on inter-spike interval.
 
virtual bool is_eprop_recurrent_node () const
 Checks if the node is part of the recurrent network and thus not a readout neuron.
 
virtual double get_LTD_value (double t)
 
virtual void get_LTP_history (double t1, double t2, std::deque< histentry_extended >::iterator *start, std::deque< histentry_extended >::iterator *finish)
 
virtual void get_urbanczik_history (double t1, double t2, std::deque< histentry_extended >::iterator *start, std::deque< histentry_extended >::iterator *finish, int)
 
virtual double get_C_m (int comp)
 
virtual double get_g_L (int comp)
 
virtual double get_tau_L (int comp)
 
virtual double get_tau_s (int comp)
 
virtual double get_tau_syn_ex (int comp)
 
virtual double get_tau_syn_in (int comp)
 
virtual void compute_gradient (const long t_spike, const long t_spike_previous, double &z_previous_buffer, double &z_bar, double &e_bar, double &e_bar_reg, double &epsilon, double &weight, const CommonSynapseProperties &cp, WeightOptimizer *optimizer, bool is_flush_event, bool previous_was_flush_event, double &sum_grad, long &remaining_steps_until_cutoff, long &decay_steps)
 Compute gradient change for eprop synapses.
 
virtual double compute_gradient (std::vector< long > &presyn_isis, const long t_previous_update, const long t_previous_trigger_spike, const double kappa, const bool average_gradient)
 Compute gradient change for eprop synapses.
 
virtual void event_hook (DSSpikeEvent &)
 Modify Event object parameters during event delivery.
 
virtual void event_hook (DSCurrentEvent &)
 
void set_thread (size_t)
 Store the number of the thread to which the node is assigned.
 
size_t get_thread () const
 Retrieve the number of the thread to which the node is assigned.
 
void set_vp (size_t)
 Store the number of the virtual process to which the node is assigned.
 
size_t get_vp () const
 Retrieve the number of the virtual process to which the node is assigned.
 
void set_model_id (int)
 Set the model id.
 
void set_initialized ()
 Execute post-initialization actions in node models.
 
virtual SignalType sends_signal () const
 
virtual SignalType receives_signal () const
 
Dictionary get_status_base ()
 Return a dictionary with the node's properties.
 
void set_status_base (const Dictionary &)
 Set status dictionary of a node.
 
bool is_model_prototype () const
 Returns true if node is model prototype.
 
void set_thread_lid (const size_t)
 set thread local index
 
size_t get_thread_lid () const
 get thread local index
 
virtual void set_local_device_id (const size_t lsdid)
 Sets the local device id.
 
virtual size_t get_local_device_id () const
 Gets the local device id.
 
void set_tmp_nc_index (size_t index)
 Set index in node collection; required by ThirdOutBuilder.
 
size_t get_tmp_nc_index ()
 Return and invalidate index in node collection; required by ThirdOutBuilder.
 
- Public Member Functions inherited from nest::IgnoreAndSpikeMechanism
 IgnoreAndSpikeMechanism ()
 Default constructor.
 
 IgnoreAndSpikeMechanism (const IgnoreAndSpikeMechanism &n)
 Copy constructor.
 
virtual ~IgnoreAndSpikeMechanism ()=default
 Virtual destructor.
 
bool spike_event_is_due (bool emit_dynamic_spike)
 Updates spike schedule and returns whether a spike should be emitted.
 
void get_status (Dictionary &d) const
 Retrieves parameters and adds them to the status dictionary.
 
void set_status (const Dictionary &d, Node *node)
 Sets and validates parameters from the status dictionary.
 

Private Member Functions

void init_buffers_ () override
 Reset internal buffers of neuron.
 
void pre_run_hook () override
 Initialize auxiliary quantities, leave parameters and state untouched.
 
void update (Time const &, const long, const long) override
 Take neuron through given time interval.
 
double get_V_m_ () const
 
double get_ASCurrents_sum_ () const
 
double get_I_ () const
 
double get_I_syn_ () const
 
double get_threshold_ () const
 
double get_threshold_spike_ () const
 
double get_threshold_voltage_ () const
 

Private Attributes

Parameters_ P_
 
State_ S_
 
Variables_ V_
 
Buffers_ B_
 

Static Private Attributes

static RecordablesMap< glif_psc_double_alpha > recordablesMap_
 Mapping of recordables names to access functions.
 

Friends

class RecordablesMap< glif_psc_double_alpha >
 
class UniversalDataLogger< glif_psc_double_alpha >
 

Additional Inherited Members

- Public Attributes inherited from nest::Node
DeprecationWarning deprecation_warning
 Member of DeprecationWarning class to be used by models if parameters are deprecated.
 
- Protected Member Functions inherited from nest::ArchivingNode
void set_spiketime (Time const &t_sp, double offset=0.0)
 Record spike history.
 
double get_spiketime_ms () const
 Return most recent spike time in ms.
 
void clear_history ()
 Clear spike history.
 
- Protected Member Functions inherited from nest::StructuralPlasticityNode
void set_spiketime (Time const &t_sp, double offset=0.0)
 Record spike history.
 
void clear_history ()
 Clear spike history.
 
- Protected Member Functions inherited from nest::Node
virtual void init_state_ ()
 Configure state variables depending on runtime information.
 
virtual void set_initialized_ ()
 
Model & get_model_ () const
 
void set_frozen_ (bool frozen)
 Mark node as frozen.
 
template<typename ConcreteNode >
const ConcreteNode & downcast (const Node &)
 Auxiliary function to downcast a Node to a concrete class derived from Node.
 
- Protected Attributes inherited from nest::ArchivingNode
size_t n_incoming_
 Number of incoming connections from STDP connectors.
 

Constructor & Destructor Documentation

◆ glif_psc_double_alpha() [1/2]

nest::glif_psc_double_alpha::glif_psc_double_alpha ( )

References recordablesMap_.

◆ glif_psc_double_alpha() [2/2]

nest::glif_psc_double_alpha::glif_psc_double_alpha ( const glif_psc_double_alpha &  n)

Member Function Documentation

◆ get_ASCurrents_sum_()

double nest::glif_psc_double_alpha::get_ASCurrents_sum_ ( ) const
inlineprivate

References nest::glif_psc_double_alpha::State_::ASCurrents_sum_, and S_.

Referenced by nest::RecordablesMap< HostNode >::create().

Here is the caller graph for this function:

◆ get_I_()

double nest::glif_psc_double_alpha::get_I_ ( ) const
inlineprivate

References nest::glif_psc_double_alpha::State_::I_, and S_.

Referenced by nest::RecordablesMap< HostNode >::create().

Here is the caller graph for this function:

◆ get_I_syn_()

double nest::glif_psc_double_alpha::get_I_syn_ ( ) const
inlineprivate

References nest::glif_psc_double_alpha::State_::I_syn_, and S_.

Referenced by nest::RecordablesMap< HostNode >::create().

Here is the caller graph for this function:

◆ get_status()

void nest::glif_psc_double_alpha::get_status ( Dictionary &  ) const
inlineoverridevirtual

Export properties of the node by setting entries in the status dictionary.

Parameters
dDictionary.

Reimplemented from nest::ArchivingNode.

References nest::glif_psc_double_alpha::Parameters_::get(), nest::glif_psc_double_alpha::State_::get(), nest::ArchivingNode::get_status(), P_, nest::names::recordables(), recordablesMap_, and S_.

Here is the call graph for this function:

◆ get_threshold_()

double nest::glif_psc_double_alpha::get_threshold_ ( ) const
inlineprivate

References nest::glif_psc_double_alpha::Parameters_::E_L_, P_, S_, and nest::glif_psc_double_alpha::State_::threshold_.

Referenced by nest::RecordablesMap< HostNode >::create().

Here is the caller graph for this function:

◆ get_threshold_spike_()

double nest::glif_psc_double_alpha::get_threshold_spike_ ( ) const
inlineprivate

References S_, and nest::glif_psc_double_alpha::State_::threshold_spike_.

Referenced by nest::RecordablesMap< HostNode >::create().

Here is the caller graph for this function:

◆ get_threshold_voltage_()

double nest::glif_psc_double_alpha::get_threshold_voltage_ ( ) const
inlineprivate

References S_, and nest::glif_psc_double_alpha::State_::threshold_voltage_.

Referenced by nest::RecordablesMap< HostNode >::create().

Here is the caller graph for this function:

◆ get_V_m_()

double nest::glif_psc_double_alpha::get_V_m_ ( ) const
inlineprivate

References nest::glif_psc_double_alpha::Parameters_::E_L_, P_, S_, and nest::glif_psc_double_alpha::State_::U_.

Referenced by nest::RecordablesMap< HostNode >::create().

Here is the caller graph for this function:

◆ handle() [1/17]

void nest::Node::handle ( ConductanceEvent &  e)
virtual

Handler for conductance events.

See also
handle(thread, SpikeEvent&)
Exceptions
UnexpectedEvent

Reimplemented from nest::Node.

◆ handle() [2/17]

void nest::glif_psc_double_alpha::handle ( CurrentEvent &  e)
overridevirtual

Handler for current events.

See also
handle(thread, SpikeEvent&)
Exceptions
UnexpectedEvent

Reimplemented from nest::Node.

References nest::RingBuffer::add_value(), B_, nest::glif_psc_double_alpha::Buffers_::currents_, and nest::kernel().

Here is the call graph for this function:

◆ handle() [3/17]

void nest::Node::handle ( CurrentEvent &  e)
virtual

Handler for current events.

See also
handle(thread, SpikeEvent&)
Exceptions
UnexpectedEvent

Reimplemented from nest::Node.

◆ handle() [4/17]

void nest::Node::handle ( DataLoggingReply &  e)
virtual

Handler for universal data logging request.

See also
handle(SpikeEvent&)
Exceptions
UnexpectedEvent
Note
There is no connect_sender() for DataLoggingReply, since this event is only used as "back channel" for DataLoggingRequest.

Reimplemented from nest::Node.

◆ handle() [5/17]

void nest::glif_psc_double_alpha::handle ( DataLoggingRequest &  e)
overridevirtual

Handler for universal data logging request.

See also
handle(SpikeEvent&)
Exceptions
UnexpectedEvent

Reimplemented from nest::Node.

References B_, and nest::glif_psc_double_alpha::Buffers_::logger_.

◆ handle() [6/17]

void nest::Node::handle ( DataLoggingRequest &  e)
virtual

Handler for universal data logging request.

See also
handle(SpikeEvent&)
Exceptions
UnexpectedEvent

Reimplemented from nest::Node.

◆ handle() [7/17]

void nest::Node::handle ( DelayedRateConnectionEvent &  e)
virtual

Handler for delay rate neuron events.

See also
handle(thread, DelayedRateConnectionEvent&)
Exceptions
UnexpectedEvent

Reimplemented from nest::Node.

◆ handle() [8/17]

void nest::Node::handle ( DiffusionConnectionEvent &  e)
virtual

Handler for rate neuron events.

See also
handle(thread, InstantaneousRateConnectionEvent&)
Exceptions
UnexpectedEvent

Reimplemented from nest::Node.

◆ handle() [9/17]

void nest::Node::handle ( DoubleDataEvent &  e)
virtual

Handler for DoubleData events.

See also
handle(thread, SpikeEvent&)
Exceptions
UnexpectedEvent

Reimplemented from nest::Node.

◆ handle() [10/17]

void nest::Node::handle ( GapJunctionEvent &  e)
virtual

Handler for gap junction events.

See also
handle(thread, GapJunctionEvent&)
Exceptions
UnexpectedEvent

Reimplemented from nest::Node.

◆ handle() [11/17]

void nest::Node::handle ( InstantaneousRateConnectionEvent &  e)
virtual

Handler for rate neuron events.

See also
handle(thread, InstantaneousRateConnectionEvent&)
Exceptions
UnexpectedEvent

Reimplemented from nest::Node.

◆ handle() [12/17]

void nest::Node::handle ( LearningSignalConnectionEvent &  e)
virtual

Handler for learning signal connection events.

See also
handle(thread, LearningSignalConnectionEvent&)
Exceptions
UnexpectedEvent

Reimplemented from nest::Node.

◆ handle() [13/17]

void nest::Node::handle ( RateEvent &  e)
virtual

Handler for rate events.

See also
handle(SpikeEvent&)
Exceptions
UnexpectedEvent

Reimplemented from nest::Node.

◆ handle() [14/17]

void nest::Node::handle ( SICEvent &  e)
virtual

Handler for slow inward current events (SICEvents).

See also
handle(thread,SICEvent&)
Exceptions
UnexpectedEvent

Reimplemented from nest::Node.

◆ handle() [15/17]

void nest::glif_psc_double_alpha::handle ( SpikeEvent &  e)
overridevirtual

Handle incoming spike events.

Default implementation of event handlers just throws an UnexpectedEvent exception.

Parameters
thrdId of the calling thread.
eEvent object.

This handler has to be implemented if a Node should accept spike events.

See also
class SpikeEvent
class UnexpectedEvent
Exceptions
UnexpectedEventThis is the default event to throw.

Reimplemented from nest::Node.

References B_, nest::kernel(), and nest::glif_psc_double_alpha::Buffers_::spikes_.

Here is the call graph for this function:

◆ handle() [16/17]

void nest::Node::handle ( SpikeEvent &  e)
virtual

Handle incoming spike events.

Default implementation of event handlers just throws an UnexpectedEvent exception.

Parameters
thrdId of the calling thread.
eEvent object.

This handler has to be implemented if a Node should accept spike events.

See also
class SpikeEvent
class UnexpectedEvent
Exceptions
UnexpectedEventThis is the default event to throw.

Reimplemented from nest::Node.

◆ handle() [17/17]

void nest::Node::handle ( WeightRecorderEvent &  e)
virtual

Handle incoming weight recording events.

Parameters
thrdId of the calling thread.
eEvent object.

This handler has to be implemented if a Node should accept weight recording events.

See also
class WeightRecordingEvent

Reimplemented from nest::Node.

◆ handles_test_event() [1/18]

size_t nest::Node::handles_test_event ( ConductanceEvent &  ,
size_t  receptor_type 
)
virtual

Reimplemented from nest::Node.

◆ handles_test_event() [2/18]

size_t nest::Node::handles_test_event ( CurrentEvent &  ,
size_t  receptor_type 
)
virtual

Reimplemented from nest::Node.

◆ handles_test_event() [3/18]

size_t nest::glif_psc_double_alpha::handles_test_event ( CurrentEvent &  ,
size_t  receptor_type 
)
inlineoverridevirtual

Reimplemented from nest::Node.

References nest::Node::get_name().

Here is the call graph for this function:

◆ handles_test_event() [4/18]

size_t nest::Node::handles_test_event ( DataLoggingRequest &  ,
size_t  receptor_type 
)
virtual

Reimplemented from nest::Node.

◆ handles_test_event() [5/18]

size_t nest::glif_psc_double_alpha::handles_test_event ( DataLoggingRequest &  dlr,
size_t  receptor_type 
)
inlineoverridevirtual

Reimplemented from nest::Node.

References B_, nest::Node::get_name(), nest::glif_psc_double_alpha::Buffers_::logger_, and recordablesMap_.

Here is the call graph for this function:

◆ handles_test_event() [6/18]

size_t nest::Node::handles_test_event ( DelayedRateConnectionEvent &  ,
size_t  receptor_type 
)
virtual

Reimplemented from nest::Node.

◆ handles_test_event() [7/18]

size_t nest::Node::handles_test_event ( DiffusionConnectionEvent &  ,
size_t  receptor_type 
)
virtual

Reimplemented from nest::Node.

◆ handles_test_event() [8/18]

size_t nest::Node::handles_test_event ( DoubleDataEvent &  ,
size_t  receptor_type 
)
virtual

Reimplemented from nest::Node.

◆ handles_test_event() [9/18]

size_t nest::Node::handles_test_event ( DSCurrentEvent &  ,
size_t  receptor_type 
)
virtual

Reimplemented from nest::Node.

◆ handles_test_event() [10/18]

size_t nest::Node::handles_test_event ( DSSpikeEvent &  ,
size_t  receptor_type 
)
virtual

Reimplemented from nest::Node.

◆ handles_test_event() [11/18]

size_t nest::Node::handles_test_event ( GapJunctionEvent &  ,
size_t  receptor_type 
)
virtual

Reimplemented from nest::Node.

◆ handles_test_event() [12/18]

size_t nest::Node::handles_test_event ( InstantaneousRateConnectionEvent &  ,
size_t  receptor_type 
)
virtual

Reimplemented from nest::Node.

◆ handles_test_event() [13/18]

size_t nest::Node::handles_test_event ( LearningSignalConnectionEvent &  ,
size_t  receptor_type 
)
virtual

Reimplemented from nest::Node.

◆ handles_test_event() [14/18]

size_t nest::Node::handles_test_event ( RateEvent &  ,
size_t  receptor_type 
)
virtual

Reimplemented from nest::Node.

◆ handles_test_event() [15/18]

size_t nest::Node::handles_test_event ( SICEvent &  ,
size_t  receptor_type 
)
virtual

Reimplemented from nest::Node.

◆ handles_test_event() [16/18]

size_t nest::Node::handles_test_event ( SpikeEvent &  ,
size_t  receptor_type 
)
virtual

Check if the node can handle a particular event and receptor type.

This function is called upon connection setup by send_test_event().

handles_test_event() function is used to verify that the receiver can handle the event. It can also be used by the receiver to return information to the sender in form of the returned port. The default implementation throws an IllegalConnection exception. Any node class should define handles_test_event() functions for all those event types it can handle.

See Kunkel et al, Front Neuroinform 8:78 (2014), Sec 3.

Note
The semantics of all other handles_test_event() functions is identical.
Exceptions
IllegalConnection

Reimplemented from nest::Node.

◆ handles_test_event() [17/18]

size_t nest::glif_psc_double_alpha::handles_test_event ( SpikeEvent &  ,
size_t  receptor_type 
)
overridevirtual

Check if the node can handle a particular event and receptor type.

This function is called upon connection setup by send_test_event().

handles_test_event() function is used to verify that the receiver can handle the event. It can also be used by the receiver to return information to the sender in form of the returned port. The default implementation throws an IllegalConnection exception. Any node class should define handles_test_event() functions for all those event types it can handle.

See Kunkel et al, Front Neuroinform 8:78 (2014), Sec 3.

Note
The semantics of all other handles_test_event() functions is identical.
Exceptions
IllegalConnection

Reimplemented from nest::Node.

References nest::Node::get_name(), nest::glif_psc_double_alpha::Parameters_::has_connections_, nest::glif_psc_double_alpha::Parameters_::n_receptors_(), and P_.

Here is the call graph for this function:

◆ handles_test_event() [18/18]

size_t nest::Node::handles_test_event ( WeightRecorderEvent &  ,
size_t  receptor_type 
)
virtual

Reimplemented from nest::Node.

◆ init_buffers_()

void nest::glif_psc_double_alpha::init_buffers_ ( )
overrideprivatevirtual

Reset internal buffers of neuron.

Reimplemented from nest::Node.

References B_, nest::RingBuffer::clear(), nest::glif_psc_double_alpha::Buffers_::currents_, nest::glif_psc_double_alpha::Buffers_::logger_, and nest::glif_psc_double_alpha::Buffers_::spikes_.

Here is the call graph for this function:

◆ pre_run_hook()

void nest::glif_psc_double_alpha::pre_run_hook ( )
overrideprivatevirtual

Initialize auxiliary quantities, leave parameters and state untouched.

Implements nest::Node.

References nest::glif_psc_double_alpha::Variables_::abpara_ratio_voltage_, nest::glif_psc_double_alpha::Parameters_::amp_slow_, nest::glif_psc_double_alpha::Parameters_::asc_decay_, nest::glif_psc_double_alpha::Variables_::asc_decay_rates_, nest::glif_psc_double_alpha::Parameters_::asc_r_, nest::glif_psc_double_alpha::Variables_::asc_refractory_decay_rates_, nest::glif_psc_double_alpha::Variables_::asc_stable_coeff_, B_, nest::glif_psc_double_alpha::Parameters_::C_m_, numerics::e, IAFPropagatorAlpha::evaluate(), nest::glif_psc_double_alpha::Parameters_::G_, nest::Time::get_ms(), nest::Time::get_resolution(), nest::Time::get_steps(), nest::glif_psc_double_alpha::Parameters_::has_asc_, nest::glif_psc_double_alpha::Parameters_::has_theta_spike_, nest::glif_psc_double_alpha::Parameters_::has_theta_voltage_, nest::glif_psc_double_alpha::Buffers_::logger_, nest::glif_psc_double_alpha::Parameters_::n_receptors_(), nest::glif_psc_double_alpha::Variables_::P11_fast_, nest::glif_psc_double_alpha::Variables_::P11_slow_, nest::glif_psc_double_alpha::Variables_::P21_fast_, nest::glif_psc_double_alpha::Variables_::P21_slow_, nest::glif_psc_double_alpha::Variables_::P22_fast_, nest::glif_psc_double_alpha::Variables_::P22_slow_, nest::glif_psc_double_alpha::Variables_::P30_, nest::glif_psc_double_alpha::Variables_::P31_fast_, nest::glif_psc_double_alpha::Variables_::P31_slow_, nest::glif_psc_double_alpha::Variables_::P32_fast_, nest::glif_psc_double_alpha::Variables_::P32_slow_, nest::glif_psc_double_alpha::Variables_::P33_, P_, nest::glif_psc_double_alpha::Variables_::phi, nest::glif_psc_double_alpha::Variables_::potential_decay_rate_, nest::glif_psc_double_alpha::Variables_::PSCInitialValues_, nest::glif_psc_double_alpha::Variables_::PSCInitialValues_slow_, nest::glif_psc_double_alpha::Variables_::RefractoryCounts_, S_, nest::glif_psc_double_alpha::Buffers_::spikes_, nest::glif_psc_double_alpha::Parameters_::t_ref_, nest::glif_psc_double_alpha::Parameters_::tau_syn_fast_, nest::glif_psc_double_alpha::Parameters_::tau_syn_slow_, nest::glif_psc_double_alpha::Parameters_::th_spike_decay_, nest::glif_psc_double_alpha::Parameters_::th_voltage_decay_, nest::glif_psc_double_alpha::Parameters_::th_voltage_index_, nest::glif_psc_double_alpha::Variables_::theta_spike_decay_rate_, nest::glif_psc_double_alpha::Variables_::theta_spike_refractory_decay_rate_, nest::glif_psc_double_alpha::Variables_::theta_voltage_decay_rate_inverse_, V_, nest::glif_psc_double_alpha::State_::y1_fast_, nest::glif_psc_double_alpha::State_::y1_slow_, nest::glif_psc_double_alpha::State_::y2_fast_, and nest::glif_psc_double_alpha::State_::y2_slow_.

Here is the call graph for this function:

◆ send_test_event()

size_t nest::glif_psc_double_alpha::send_test_event ( Node &  receiving_node,
size_t  receptor_type,
synindex  syn_id,
bool  dummy_target 
)
inlineoverridevirtual

Send an event to the receiving_node passed as an argument.

Default implementation of check_connection just throws IllegalConnection.

This is required during the connection handshaking to test, if the receiving_node can handle the event type and receptor_type sent by the source node.

If dummy_target is true, this indicates that receiving_node is derived from ConnTestDummyNodeBase and used in the first call to send_test_event(). This can be ignored in most cases, but Nodes sending DS*Events to their own event hooks and then *Events to their proper targets must send DS*Events when called with the dummy target, and *Events when called with the real target, see #478.

Reimplemented from nest::Node.

◆ set_status()

void nest::glif_psc_double_alpha::set_status ( const Dictionary &  )
inlineoverridevirtual

Change properties of the node according to the entries in the dictionary.

Parameters
dDictionary with named parameter settings.

Reimplemented from nest::ArchivingNode.

References P_, S_, nest::glif_psc_double_alpha::State_::set(), nest::glif_psc_double_alpha::Parameters_::set(), and nest::ArchivingNode::set_status().

Here is the call graph for this function:

◆ update()

void nest::glif_psc_double_alpha::update ( Time const &  origin,
const long  from,
const long  to 
)
overrideprivatevirtual

Take neuron through given time interval.

Implements nest::Node.

References nest::glif_psc_double_alpha::Variables_::abpara_ratio_voltage_, nest::glif_psc_double_alpha::Parameters_::asc_amps_, nest::glif_psc_double_alpha::Variables_::asc_decay_rates_, nest::glif_psc_double_alpha::Variables_::asc_refractory_decay_rates_, nest::glif_psc_double_alpha::Variables_::asc_stable_coeff_, nest::glif_psc_double_alpha::State_::ASCurrents_, nest::glif_psc_double_alpha::State_::ASCurrents_sum_, B_, nest::glif_psc_double_alpha::Buffers_::currents_, nest::KernelManager::event_delivery_manager, nest::glif_psc_double_alpha::Parameters_::G_, nest::RingBuffer::get_value(), nest::glif_psc_double_alpha::Parameters_::has_asc_, nest::glif_psc_double_alpha::Parameters_::has_theta_spike_, nest::glif_psc_double_alpha::Parameters_::has_theta_voltage_, nest::glif_psc_double_alpha::State_::I_, nest::glif_psc_double_alpha::State_::I_syn_, nest::glif_psc_double_alpha::State_::I_syn_fast_, nest::glif_psc_double_alpha::State_::I_syn_slow_, nest::kernel(), nest::glif_psc_double_alpha::Buffers_::logger_, nest::glif_psc_double_alpha::Parameters_::n_receptors_(), nest::glif_psc_double_alpha::Variables_::P11_fast_, nest::glif_psc_double_alpha::Variables_::P11_slow_, nest::glif_psc_double_alpha::Variables_::P21_fast_, nest::glif_psc_double_alpha::Variables_::P21_slow_, nest::glif_psc_double_alpha::Variables_::P22_fast_, nest::glif_psc_double_alpha::Variables_::P22_slow_, nest::glif_psc_double_alpha::Variables_::P30_, nest::glif_psc_double_alpha::Variables_::P31_fast_, nest::glif_psc_double_alpha::Variables_::P31_slow_, nest::glif_psc_double_alpha::Variables_::P32_fast_, nest::glif_psc_double_alpha::Variables_::P32_slow_, nest::glif_psc_double_alpha::Variables_::P33_, P_, nest::glif_psc_double_alpha::Variables_::phi, nest::glif_psc_double_alpha::Variables_::potential_decay_rate_, nest::glif_psc_double_alpha::Variables_::PSCInitialValues_, nest::glif_psc_double_alpha::Variables_::PSCInitialValues_slow_, nest::glif_psc_double_alpha::State_::refractory_steps_, nest::glif_psc_double_alpha::Variables_::RefractoryCounts_, S_, nest::EventDeliveryManager::send(), nest::ArchivingNode::set_spiketime(), nest::glif_psc_double_alpha::Buffers_::spikes_, nest::glif_psc_double_alpha::Parameters_::th_inf_, nest::glif_psc_double_alpha::Parameters_::th_spike_add_, nest::glif_psc_double_alpha::Variables_::theta_spike_decay_rate_, nest::glif_psc_double_alpha::Variables_::theta_spike_refractory_decay_rate_, nest::glif_psc_double_alpha::Variables_::theta_voltage_decay_rate_inverse_, nest::glif_psc_double_alpha::State_::threshold_, nest::glif_psc_double_alpha::State_::threshold_spike_, nest::glif_psc_double_alpha::State_::threshold_voltage_, nest::glif_psc_double_alpha::State_::U_, V_, nest::glif_psc_double_alpha::Parameters_::V_reset_, nest::glif_psc_double_alpha::Parameters_::voltage_reset_add_, nest::glif_psc_double_alpha::Parameters_::voltage_reset_fraction_, nest::glif_psc_double_alpha::State_::y1_fast_, nest::glif_psc_double_alpha::State_::y1_slow_, nest::glif_psc_double_alpha::State_::y2_fast_, and nest::glif_psc_double_alpha::State_::y2_slow_.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ RecordablesMap< glif_psc_double_alpha >

friend class RecordablesMap< glif_psc_double_alpha >
friend

◆ UniversalDataLogger< glif_psc_double_alpha >

friend class UniversalDataLogger< glif_psc_double_alpha >
friend

Member Data Documentation

◆ B_

Buffers_ nest::glif_psc_double_alpha::B_
private

◆ P_

Parameters_ nest::glif_psc_double_alpha::P_
private

◆ recordablesMap_

RecordablesMap< glif_psc_double_alpha > nest::glif_psc_double_alpha::recordablesMap_
staticprivate

Mapping of recordables names to access functions.

Referenced by get_status(), glif_psc_double_alpha(), and handles_test_event().

◆ S_

◆ V_

Variables_ nest::glif_psc_double_alpha::V_
private

Referenced by pre_run_hook(), and update().


The documentation for this class was generated from the following files: