nnmt.models.Basic

class nnmt.models.Basic(network_params=None, analysis_params=None, file=None)[source]

Model similar to Microcircuit, without assuming any network structure.

This model only reads in the parameter yaml files and calculates the most basic dependend parameters. It converts the weights from pA to mV, calculates relative thresholds and converts the analysis frequencies to angular frequencies.

It optionally calculates the spatial Fourier wavenumbers (also known as k values) needed for a linear stability analysis of spatially structured network models.

Parameters:
network_params[str | dict]

Network parameters yaml file name or dictionary including:

  • Cfloat
    Membrane capacitance in pF.
  • V_th_abs[float | np.array]
    Absolute threshold potential in mV.
  • V_0_abs[float | np.array]
    Absolute reset potential in mV.
  • populationslist of strings
    Names of different populations.
  • tau_sfloat
    Synaptic time constant in ms.
  • Wnp.array
    Matrix of amplitudes of post synaptic current in pA. It needs to be a len(populations) x len(populations) matrix.
  • W_ext: np.array
    Matrix of amplitudes of external post synaptic current in pA. It needs to be a len(populations) x len(external_populations) matrix.
analysis_params[str | dict]

Analysis parameters yaml file name or dictionary including:

  • dffloat
    Step size between two analysis frequencies.
  • f_minfloat
    Minimal analysis frequency.
  • f_maxfloat
    Maximal analysis frequency.
  • dkfloat, optional
    Step size between two k values.
  • k_minfloat, optional
    Minimal k value.
  • k_maxfloat, optional
    Maximal k value.

See also

nnmt.models.Network
Parent class defining all arguments, attributes, and methods.