sin_input: Sinusoidal Input Current Function

Description Usage Arguments Details Value Examples

View source: R/firing_rate_equations.R

Description

Periodic current function applied to the system:

Usage

1
sin_input(t, current, frequency, t_start = -Inf, t_end = Inf)

Arguments

t

Numeric time vector.

current

Current

frequency

The frequency of the sine wave.

t_start

Initial time at which the input current is applied to the system.

t_end

Final time at which the input current is applied to the system.

Details

I(t) = I_0 \sin(ω t)

Value

Current function

Examples

1
sin_input(t, current = 3, frequency = pi/4)(t = 1:10)

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