BGlib.be.analysis.be_relax_fit.fit_double_exp

BGlib.be.analysis.be_relax_fit.fit_double_exp(x, y)[source]

Fit spectrum,y, to double exp using differential evolution :param x: values for x-axis :param y: values for y-axis :return: best fit parameters for a double exp.