Note

This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.

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