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.

cos

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

Cosine function.

y=ampcos(2πfreqx+phase)+baseline
Return type:

ndarray