|
| | sinusoidal_gamma_generator () |
| |
| | sinusoidal_gamma_generator (const sinusoidal_gamma_generator &) |
| |
| port | send_test_event (Node &, rport, synindex, bool) |
| | Send an event to the receiving_node passed as an argument. More...
|
| |
| void | handle (DataLoggingRequest &) |
| | Handler for universal data logging request. More...
|
| |
| port | handles_test_event (DataLoggingRequest &, rport) |
| |
| void | get_status (DictionaryDatum &) const |
| |
| void | set_status (const DictionaryDatum &) |
| |
| bool | has_proxies () const |
| | Model can be switched between proxies (single spike train) and not. More...
|
| |
| bool | local_receiver () const |
| | Allow multimeter to connect to local instances. More...
|
| |
| | Node () |
| |
| | Node (Node const &) |
| |
| virtual | ~Node () |
| |
| virtual Node * | clone () const |
| | Virtual copy constructor. More...
|
| |
| virtual bool | potential_global_receiver () const |
| | Returns true for potential global receivers (e.g. More...
|
| |
| virtual void | set_has_proxies (const bool) |
| | Sets has_proxies_ member variable (to switch to global spike detection mode) More...
|
| |
| virtual void | set_local_receiver (const bool) |
| | Sets local_receiver_ member variable (to switch to global spike detection mode) More...
|
| |
| 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. More...
|
| |
| virtual bool | is_off_grid () const |
| | Returns true if the node if it sends/receives -grid events This is used to discriminate between different types of nodes, when adding new nodes to the network. More...
|
| |
| virtual bool | is_proxy () const |
| | Returns true if the node is a proxy node. More...
|
| |
| std::string | get_name () const |
| | Return class name. More...
|
| |
| index | get_gid () const |
| | Return global Network ID. More...
|
| |
| index | get_lid () const |
| | Return local node ID. More...
|
| |
| index | get_subnet_index () const |
| | Return the index to the node in the node array of the parent subnet. More...
|
| |
| int | get_model_id () const |
| | Return model ID of the node. More...
|
| |
| Subnet * | get_parent () const |
| | Return pointer to parent subnet. More...
|
| |
| virtual std::string | print_network (int, int, std::string="") |
| | Prints out one line of the tree view of the network. More...
|
| |
| bool | is_frozen () const |
| | Returns true if node is frozen, i.e., shall not be updated. More...
|
| |
| bool | is_local () const |
| | Returns true if the node is allocated in the local process. More...
|
| |
| void | init_state () |
| | Set state variables to the default values for the model. More...
|
| |
| void | init_buffers () |
| | Initialize buffers of a node. More...
|
| |
| virtual void | finalize () |
| | Finalize node. More...
|
| |
| virtual void | set_status (const DictionaryDatum &)=0 |
| | Change properties of the node according to the entries in the dictionary. More...
|
| |
| virtual void | get_status (DictionaryDatum &) const =0 |
| | Export properties of the node by setting entries in the status dictionary. More...
|
| |
| virtual port | handles_test_event (SpikeEvent &, rport receptor_type) |
| | Check if the node can handle a particular event and receptor type. More...
|
| |
| virtual port | handles_test_event (RateEvent &, rport receptor_type) |
| |
| virtual port | handles_test_event (CurrentEvent &, rport receptor_type) |
| |
| virtual port | handles_test_event (ConductanceEvent &, rport receptor_type) |
| |
| virtual port | handles_test_event (DoubleDataEvent &, rport receptor_type) |
| |
| virtual port | handles_test_event (DSSpikeEvent &, rport receptor_type) |
| |
| virtual port | handles_test_event (DSCurrentEvent &, rport receptor_type) |
| |
| virtual void | register_stdp_connection (double_t) |
| | Register a STDP connection. More...
|
| |
| virtual void | unregister_stdp_connection (double_t) |
| | Unregister a STDP connection. More...
|
| |
| virtual void | handle (SpikeEvent &e) |
| | Handle incoming spike events. More...
|
| |
| virtual void | handle (RateEvent &e) |
| | Handler for rate events. More...
|
| |
| virtual void | handle (DataLoggingReply &e) |
| | Handler for universal data logging request. More...
|
| |
| virtual void | handle (CurrentEvent &e) |
| | Handler for current events. More...
|
| |
| virtual void | handle (ConductanceEvent &e) |
| | Handler for conductance events. More...
|
| |
| virtual void | handle (DoubleDataEvent &e) |
| | Handler for DoubleData events. More...
|
| |
| virtual double_t | get_K_value (double_t t) |
| | return the Kminus value at t (in ms). More...
|
| |
| virtual void | get_K_values (double_t t, double_t &Kminus, double_t &triplet_Kminus) |
| | write the Kminus and triplet_Kminus values at t (in ms) to the provided locations. More...
|
| |
| virtual void | get_history (double_t t1, double_t t2, std::deque< histentry >::iterator *start, std::deque< histentry >::iterator *finish) |
| | return the spike history for (t1,t2]. More...
|
| |
| virtual void | event_hook (DSCurrentEvent &) |
| |
| void | set_thread (thread) |
| | Store the number of the thread to which the node is assigned. More...
|
| |
| thread | get_thread () const |
| | Retrieve the number of the thread to which the node is assigned. More...
|
| |
| void | set_vp (thread) |
| | Store the number of the virtual process to which the node is assigned. More...
|
| |
| thread | get_vp () const |
| | Retrieve the number of the virtual process to which the node is assigned. More...
|
| |
| void | set_model_id (int) |
| | Set the model id. More...
|
| |
| virtual bool | is_subnet () const |
| |
| DictionaryDatum | get_status_base () |
| | Return a dictionary with the node's properties. More...
|
| |
| void | set_status_base (const DictionaryDatum &) |
| | Set status dictionary of a node. More...
|
| |
| bool | is_model_prototype () const |
| | Returns true if node is model prototype. More...
|
| |
| void | set_thread_lid (const index) |
| | set thread local index More...
|
| |
| index | get_thread_lid () const |
| | get thread local index More...
|
| |
| bool | buffers_initialized () const |
| | True if buffers have been initialized. More...
|
| |
| void | set_buffers_initialized (bool initialized) |
| |
AC Gamma Generator.
Generates AC-modulated inhomogeneous gamma process.
- Todo:
- The implementation is very quick and dirty and not tuned for performance at all.
- Note
- The simulator works by calculating the hazard h(t) for each time step and comparing h(t) dt to a [0,1)-uniform number. The hazard is given by $[ h(t) = {a (t) (t)^{a-1} e^{-(t)}}{(a, (t))} $] with $[ (t) = dc + ac ( 2 f t + ) $] $[ (t) = a {t_0}^t (s) ds $] and the incomplete Gamma function $(a,z)$; $a$ is the order of the gamma function and $t_0$ the time of the most recent spike.
- Note
- This implementation includes an additional $a$ factor in the calculation of $(t)$ and $h(t)$ in order to keep the mean rate constant with varying $a$
-
Let $t_0$ be the time of the most recent spike. If stimulus parameters are changed at $t_c > t_0$, then $(t)$ is integrated piecewise for $t>t_c$ as $[ (t) = {old} {t_0}^{t_c]} {old}(s) ds
- {new} {t_c}^{t]} {new}(s) ds $] where "old" and "new" indicate old an new parameter values, respectively.
- Todo:
- This implementation assumes that outgoing connections are all made from the same synapse type, see #737. Once #681 is fixed, we need to add a check that his assumption holds.