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
([tol, iter_max, h_step, epsil_0, …])get_slopes
()model
([x, model_return])plot
(x[, show_data])Attributes Documentation
-
param_errs
¶
-
params
¶
-
slope_errs
¶
-
slopes
¶
Methods Documentation
-
fit_model
(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
()[source] [edit on github]¶
-
model
(x=None, model_return=False)[source] [edit on github]¶
-
plot
(x, show_data=True)[source] [edit on github]¶
-