qiskit/tools/qcvv/fitters.py
def osc_fit_fun(x, a, tau, f, phi, c):
    """Function used to fit the decay cosine."""
    # pylint: disable=invalid-name
    return a * np.exp(-x / tau) * np.cos(2 * np.pi * f * x + phi) + c
def osc_fit_fun(x, a, tau, f, phi, c):
    # pylint: disable=invalid-name
    return a * np.exp(-x / tau) * np.cos(2 * np.pi * f * x + phi) + c
def osc_fit_fun ( x , a , tau , f , phi , c ) : # pylint: disable=invalid-name return a * np . exp ( - x / tau ) * np . cos ( 2 * np . pi * f * x + phi ) + c
Function used to fit the decay cosine.
Function used to fit the decay cosine .