A simulation where we measure the nonlinear (second order) susceptibility of an integrate-and-fire neuron.
More...
#include <SusceptibilitySimulationNonlin.h>
|
| SusceptibilitySimulationNonlin (const std::string &input_file) |
| Constructs susceptibility simulation from .ini file.
|
|
void | calculate (size_t trials) override |
| Calculates the nonlinear susceptibility for a given number of trials. Each time the white noise signal is generated again, the neuron produces a new spike train and the susceptibility is calculated. The result is then added (!) to the susceptibility matrix suscept_nonlin.
|
|
void | add_to_suscepts (const std::vector< std::vector< std::complex< double > > > &tmp_nonlin) |
| Adds the susceptibility matrix tmp_nonlin to suscept_nonlin.
|
|
size_t | get_size_nonlin () const |
| Returns the size of the susceptibility matrix.
|
|
const std::vector< std::vector< std::complex< double > > > & | get_suscept_nonlin () const |
| Returns the susceptibility matrix.
|
|
| SusceptibilitySimulation (const std::string &input_file) |
| Constructs susceptibility simulation from .ini file.
|
|
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
|
|
A simulation where we measure the nonlinear (second order) susceptibility of an integrate-and-fire neuron.
◆ SusceptibilitySimulationNonlin()
Spike::SusceptibilitySimulationNonlin::SusceptibilitySimulationNonlin |
( |
const std::string & | input_file | ) |
|
|
explicit |
Constructs susceptibility simulation from .ini file.
- Parameters
-
input_file | path to .ini file |
◆ add_to_suscepts()
void Spike::SusceptibilitySimulationNonlin::add_to_suscepts |
( |
const std::vector< std::vector< std::complex< double > > > & | tmp_nonlin | ) |
|
Adds the susceptibility matrix tmp_nonlin to suscept_nonlin.
- Parameters
-
tmp_nonlin | susceptibility matrix |
◆ calculate()
void Spike::SusceptibilitySimulationNonlin::calculate |
( |
size_t | trials | ) |
|
|
overridevirtual |
Calculates the nonlinear susceptibility for a given number of trials. Each time the white noise signal is generated again, the neuron produces a new spike train and the susceptibility is calculated. The result is then added (!) to the susceptibility matrix suscept_nonlin.
- Parameters
-
Implements Spike::SusceptibilitySimulation.
◆ get_size_nonlin()
size_t Spike::SusceptibilitySimulationNonlin::get_size_nonlin |
( |
| ) |
const |
|
inline |
Returns the size of the susceptibility matrix.
- Returns
- size of susceptibility matrix
◆ get_suscept_nonlin()
const std::vector< std::vector< std::complex< double > > > & Spike::SusceptibilitySimulationNonlin::get_suscept_nonlin |
( |
| ) |
const |
|
inline |
Returns the susceptibility matrix.
- Returns
- susceptibility matrix
The documentation for this class was generated from the following files: