def residuals(p, y, x):
    err = y - fit_func(p, x)
    return err

# prepare fitting parameters
dataset/ETHPy150Open jjhelmus/nmrglue/examples/jbnmr_examples/s12-s15_relaxation_analysis/fit_exp.py/residuals/original