5#ifndef SPIKE_SUSCEPTIBILITYSIMULATIONNONLIN_H
6#define SPIKE_SUSCEPTIBILITYSIMULATIONNONLIN_H
18 std::vector<std::vector<std::complex<double>>>
43 const std::vector<std::vector<std::complex<double>>> &tmp_nonlin);
51 return suscept_nonlin.size();
59 [[nodiscard]]
const std::vector<std::vector<std::complex<double>>> &
61 return suscept_nonlin;
A simulation where we measure the nonlinear (second order) susceptibility of an integrate-and-fire ne...
Definition SusceptibilitySimulationNonlin.h:16
void calculate(size_t trials) override
Calculates the nonlinear susceptibility for a given number of trials. Each time the white noise signa...
Definition SusceptibilitySimulationNonlin.cpp:16
void add_to_suscepts(const std::vector< std::vector< std::complex< double > > > &tmp_nonlin)
Adds the susceptibility matrix tmp_nonlin to suscept_nonlin.
Definition SusceptibilitySimulationNonlin.cpp:31
size_t get_size_nonlin() const
Returns the size of the susceptibility matrix.
Definition SusceptibilitySimulationNonlin.h:50
const std::vector< std::vector< std::complex< double > > > & get_suscept_nonlin() const
Returns the susceptibility matrix.
Definition SusceptibilitySimulationNonlin.h:60
SusceptibilitySimulationNonlin(const std::string &input_file)
Constructs susceptibility simulation from .ini file.
Definition SusceptibilitySimulationNonlin.cpp:7
Implements a prototype simulation during which we measure the susceptibility of an integrate-and-fire...
Definition SusceptibilitySimulation.h:19