solve_fre: Solve Firing-Rate Equations

Description Usage Arguments Value

View source: R/firing_rate_equations.R

Description

Solve Firing-Rate Equations

Usage

1
solve_fre(params, init_state, times, input, method = c("rk4", "euler"))

Arguments

params

Named vector of parameters (delta, etabar, J) to pass to the FREs.

init_state

Named vector of the initial state (r, v) for the ODE system.

times

Time sequence for which output is wanted; the first value of times must be the initial time.

input

Input current or stimulus function of the system.

method

The integrator to use. The default integrator used is rk4.

Value

Solution of FRE equations as a data frame.


aldomann/neuronsim documentation built on Jan. 28, 2021, 12:51 p.m.