Spike
Loading...
Searching...
No Matches
Spike::RasterPlot Class Reference

Public Member Functions

 RasterPlot (const std::string &input_file)
 
void calculate ()
 
const std::vector< std::vector< double > > & get_spike_trains ()
 
- Public Member Functions inherited from Spike::FiringRateSimulation
 FiringRateSimulation (const std::string &input_file)
 Constructs a firing rate simulation from .ini file.
 
virtual void calculate (int trials)
 Calculates the firing rate for a given number of trials.
 
void add_to_firing_rate (const std::vector< double > &tmp_firing_rate)
 Adds a given vector of firing rate values to the firing_rate array.
 
size_t get_N_neurons () const
 Returns the number of neurons.
 
size_t get_firing_rate_size () const
 Returns the size of the firing rate array.
 
const TimeFrameget_time_frame () const
 Returns the time frame.
 
const std::vector< double > & get_firing_rate () const
 Returns the firing rate array.
 

Additional Inherited Members

- Protected Attributes inherited from Spike::FiringRateSimulation
TimeFrame time_frame
 the time frame
 
SpikeTrain spike_train
 the spike train
 
std::unique_ptr< IFneuron
 pointer to an IF neuron
 
std::unique_ptr< Signalsignal
 pointer to a signal
 
size_t N_neurons
 number of trials
 
std::vector< double > firing_rate
 array containing the firing rate values
 

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