Implements a prototype simulation during which we measure the susceptibility of an integrate-and-fire neuron (with or without adaptation).
More...
#include <SusceptibilitySimulation.h>
|
| | SusceptibilitySimulation (const std::string &input_file) |
| | Constructs susceptibility simulation from .ini file.
|
| |
| virtual void | calculate (size_t trials)=0 |
| | Calculates the susceptibility for a given number of trials.
|
| |
| void | set_c (double c_new) |
| | Sets a new noise split coefficient.
|
| |
| size_t | get_N_neurons () const |
| | Returns the number of neurons (trials) for this simulation.
|
| |
| const TimeFrame & | get_time_frame () const |
| | Returns the time frame.
|
| |
|
|
TimeFrame | time_frame |
| | time frame
|
| |
|
SpikeTrain | spike_train |
| | spike train
|
| |
|
WhiteNoiseSignal | signal |
| | white noise signal
|
| |
|
std::unique_ptr< IF > | neuron |
| | neuron
|
| |
|
size_t | N_neurons |
| | number of neurons (trials)
|
| |
|
double | c |
| | noise split coefficient
|
| |
|
double | D |
| | total noise intensity
|
| |
Implements a prototype simulation during which we measure the susceptibility of an integrate-and-fire neuron (with or without adaptation).
◆ SusceptibilitySimulation()
| Spike::SusceptibilitySimulation::SusceptibilitySimulation |
( |
const std::string & | input_file | ) |
|
|
explicit |
Constructs susceptibility simulation from .ini file.
- Parameters
-
| input_file | path to .ini file |
◆ calculate()
| virtual void Spike::SusceptibilitySimulation::calculate |
( |
size_t | trials | ) |
|
|
pure virtual |
◆ get_N_neurons()
| size_t Spike::SusceptibilitySimulation::get_N_neurons |
( |
| ) |
const |
|
inline |
Returns the number of neurons (trials) for this simulation.
- Returns
- number of neurons
◆ get_time_frame()
| const TimeFrame & Spike::SusceptibilitySimulation::get_time_frame |
( |
| ) |
const |
|
inline |
Returns the time frame.
- Returns
- time frame
◆ set_c()
| void Spike::SusceptibilitySimulation::set_c |
( |
double | c_new | ) |
|
Sets a new noise split coefficient.
- Parameters
-
| c_new | new noise split coefficient |
◆ operator<<
Overloads the << operator so we can print a simulation.
- Parameters
-
| out | stream |
| suscept_sim | susceptibility simulation |
- Returns
The documentation for this class was generated from the following files: