5#ifndef SPIKE_SUSCEPTIBILITYSIMULATIONLIN_H
6#define SPIKE_SUSCEPTIBILITYSIMULATIONLIN_H
18 std::vector<std::complex<double>> suscept_lin;
46 [[nodiscard]]
size_t get_size_lin()
const {
return suscept_lin.size(); };
52 [[nodiscard]]
const std::vector<std::complex<double>> &
A simulation where we measure the linear (first order) susceptibility of an integrate-and-fire neuron...
Definition SusceptibilitySimulationLin.h:16
const std::vector< std::complex< double > > & get_suscept_lin() const
Returns the susceptibility vector.
Definition SusceptibilitySimulationLin.h:53
SusceptibilitySimulationLin(const std::string &input_file)
Constructs susceptibility simulation from .ini file.
Definition SusceptibilitySimulationLin.cpp:6
void add_to_suscepts(const std::vector< std::complex< double > > &tmp_lin)
Adds the susceptibility tmp_lin to suscept_lin.
Definition SusceptibilitySimulationLin.cpp:27
void calculate(size_t trials) override
Calculates the linear susceptibility for a given number of trials. Each time the white noise signal i...
Definition SusceptibilitySimulationLin.cpp:11
size_t get_size_lin() const
Returns the size of the susceptibility vector.
Definition SusceptibilitySimulationLin.h:46
Implements a prototype simulation during which we measure the susceptibility of an integrate-and-fire...
Definition SusceptibilitySimulation.h:19