Spike
Loading...
Searching...
No Matches
Neuron.h
Go to the documentation of this file.
1
6#ifndef SPIKE_NEURON_H
7#define SPIKE_NEURON_H
8
10#include "Spike/SpikeTrain/SpikeTrain.h"
11#include "Spike/TimeFrame/TimeFrame.h"
12
13namespace Spike {
14
18class Neuron {
19public:
24 virtual void get_spikes(SpikeTrain &spike_train) = 0;
25
32 virtual void get_spikes(Signal &signal, SpikeTrain &spike_train) = 0;
33};
34
35} // namespace Spike
36
37#endif // SPIKE_NEURON_H
Abstract base class for Neurons.
Definition Neuron.h:18
virtual void get_spikes(Signal &signal, SpikeTrain &spike_train)=0
Produces spikes while neuron is subject to a signal and adds them to the spike train.
virtual void get_spikes(SpikeTrain &spike_train)=0
Produces spikes and adds them to the spike train.
An abstract base class for signals.
Definition Signal.h:20
A spike train for discretized times. For a given time discretization with time step dt,...
Definition SpikeTrain.h:18