sin

sin(x, amp=1.0, freq=0.15915494309189535, phase=0.0, baseline=0.0)[source]

Sine function.

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

ndarray