Miind
|
#include <libs/GeomLib/GeomInputConvertor.hpp>
Public Member Functions | |
GeomInputConvertor (const NeuronParameter &, const DiffusionParameter &, const CurrentCompensationParameter &, const std::vector< MPILib::Potential > &, bool force_small_bins=false) | |
MPILib::Number | NumberDirect () const |
std::vector< InputParameterSet > & | SolverParameter () |
const std::vector< InputParameterSet > & | SolverParameter () const |
void | SortConnectionvector (const std::vector< MPILib::Rate > &, const std::vector< MPILib::DelayedConnection > &, const std::vector< MPILib::NodeType > &) |
Private Member Functions | |
void | AddBurstParameters (const std::vector< MPILib::DelayedConnection > &, const std::vector< MPILib::Rate > &) |
void | AddDiffusionParameter (const std::vector< MPILib::DelayedConnection > &, const std::vector< MPILib::Rate > &) |
bool | IsSingleDiffusionProcess (MPILib::Potential h) const |
MPILib::Potential | MinVal (const std::vector< MPILib::Potential > &) const |
void | SetDiffusionParameters (const MuSigma &par, InputParameterSet &set) const |
void | SortDiffusionInput (const std::vector< MPILib::DelayedConnection > &, const std::vector< MPILib::Rate > &vec_rates, std::vector< MPILib::DelayedConnection > *, std::vector< MPILib::Rate > *) |
Private Attributes | |
bool | _force_small_bins |
MPILib::Potential | _min_step |
const CurrentCompensationParameter | _par_curr |
const DiffusionParameter | _par_diff |
const NeuronParameter | _par_neuron |
std::vector< MPILib::Index > | _vec_diffusion |
std::vector< MPILib::Index > | _vec_direct |
std::vector< MPILib::Potential > | _vec_interpretation |
std::vector< InputParameterSet > | _vec_set |
Internally used by GeomLib, interprets input from white noise; calculates the current compensation contribution.
This object is handed a list of firing rates, node types and efficacies and converts this to another list of firing rates that is used internally by GeomAlgorithm. Some inputs to a population are to be interpreted as contributions to Gaussian white noise. Others should simply be passed on to GeomAlgorithm. Internally, GeomAlgorithm uses a single input to emulate Gaussian white noise, which means that GeomInputConvertor must collapse the external white noise contribution into a single one that can be used internally.
Definition at line 44 of file GeomInputConvertor.hpp.
GeomInputConvertor::GeomInputConvertor | ( | const NeuronParameter & | par_neuron, |
const DiffusionParameter & | par_diff, | ||
const CurrentCompensationParameter & | par_curr, | ||
const std::vector< MPILib::Potential > & | vec_int, | ||
bool | force_small_bins = false |
||
) |
par_diff | Neuron parameter of the receiving population, required to be able to interpret the white noise contribution |
par_curr | Determines when white noise is emulated internally by one or two Poisson inputs |
vec_int | Creates an extra internal white noise source that implements the current compensation |
force_small_bins | Interpretation array from the relevant AbstractOdeSystem Inactive at the moment |
Definition at line 30 of file GeomInputConvertor.cpp.
|
private |
Definition at line 144 of file GeomInputConvertor.cpp.
References i.
|
private |
Definition at line 188 of file GeomInputConvertor.cpp.
References GeomLib::MuSigma::_mu, GeomLib::MuSigma::_sigma, and GeomLib::MuSigmaScalarProduct< WeightType >::Evaluate().
|
private |
Definition at line 109 of file GeomInputConvertor.cpp.
References GeomLib::DiffusionParameter::_diffusion_limit, _par_diff, _par_neuron, GeomLib::NeuronParameter::_theta, and _vec_interpretation.
|
private |
Definition at line 214 of file GeomInputConvertor.cpp.
References i.
MPILib::Number GeomInputConvertor::NumberDirect | ( | ) | const |
number of external inputs that are interpreted as direct input
Definition at line 47 of file GeomInputConvertor.cpp.
References _vec_direct.
|
private |
Definition at line 53 of file GeomInputConvertor.cpp.
References GeomLib::InputParameterSet::_h_exc, GeomLib::InputParameterSet::_h_inh, GeomLib::MuSigma::_mu, GeomLib::InputParameterSet::_rate_exc, GeomLib::InputParameterSet::_rate_inh, and GeomLib::MuSigma::_sigma.
|
inline |
Definition at line 64 of file GeomInputConvertor.hpp.
References _vec_set.
|
inline |
Definition at line 66 of file GeomInputConvertor.hpp.
References _vec_set.
void GeomInputConvertor::SortConnectionvector | ( | const std::vector< MPILib::Rate > & | vec_rates, |
const std::vector< MPILib::DelayedConnection > & | vec_con, | ||
const std::vector< MPILib::NodeType > & | vec_type | ||
) |
Definition at line 115 of file GeomInputConvertor.cpp.
References MPILib::EXCITATORY_GAUSSIAN, i, and MPILib::INHIBITORY_GAUSSIAN.
|
private |
Definition at line 173 of file GeomInputConvertor.cpp.
References i.
|
private |
Definition at line 116 of file GeomInputConvertor.hpp.
|
private |
Definition at line 114 of file GeomInputConvertor.hpp.
|
private |
Definition at line 107 of file GeomInputConvertor.hpp.
|
private |
Definition at line 106 of file GeomInputConvertor.hpp.
Referenced by IsSingleDiffusionProcess().
|
private |
Definition at line 105 of file GeomInputConvertor.hpp.
Referenced by IsSingleDiffusionProcess().
|
private |
Definition at line 112 of file GeomInputConvertor.hpp.
|
private |
Definition at line 111 of file GeomInputConvertor.hpp.
Referenced by NumberDirect().
|
private |
Definition at line 108 of file GeomInputConvertor.hpp.
Referenced by IsSingleDiffusionProcess().
|
private |
Definition at line 109 of file GeomInputConvertor.hpp.
Referenced by SolverParameter().