Lm_Seg

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

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]
get_slopes()[source]
model(x=None, model_return=False)[source]
plot(x, show_data=True)[source]