cogpy.model.envelopes

Functions

biexp(t[, A, alpha, beta, t0])

f(t) = A * [exp(-alpha*(t-t0)) - exp(-beta*(t-t0))] for t >= t0; else 0.

example_usage()

finite_duration_biexp(t[, A, alpha, beta, ...])

Multiply bi-exponential by a compact-support window so it's exactly 0 after t0+T.

smoothstep_cutoff(t, t0, T)

C¹ window w(t) with compact support on [t0, t0+T]:

tukey_cutoff(t, t0, T[, alpha])

Tukey (tapered cosine) window on [t0, t0+T]: