sin_decay#

sin_decay(x, amp=1.0, tau=1.0, freq=0.15915494309189535, phase=0.0, baseline=0.0)[source]#

Sine function with exponential decay.

\[y = {\rm amp} \cdot e^{-x/\tau} \sin\left(2 \pi \cdot {\rm freq} \cdot x + {\rm phase}\right) + {\rm baseline}\]
Return type:

ndarray