def get_linearfit_params(self):
    popt = self.linearfit_params
    (m, b) = (popt[0], popt[1])
    return (m, b)
def get_linearfit_params(self):
    popt = self.linearfit_params
    (m, b) = (popt[0], popt[1])
    return (m, b)