Lm_Seg

class turbustat.statistics.Lm_Seg(x, y, brk, weights=None)[source] [edit on github]

Bases: object

Attributes Summary

param_errs
params
slope_errs
slopes

Methods Summary

fit_model(self[, tol, iter_max, h_step, …])
get_slopes(self)
model(self[, x, model_return])
plot(self, x[, show_data])

Attributes Documentation

param_errs
params
slope_errs
slopes

Methods Documentation

fit_model(self, tol=0.001, iter_max=100, h_step=2.0, epsil_0=10, constant=True, verbose=True, missing='drop', **fit_kwargs)[source] [edit on github]
get_slopes(self)[source] [edit on github]
model(self, x=None, model_return=False)[source] [edit on github]
plot(self, x, show_data=True)[source] [edit on github]