instability_data_tools

File Purpose: helpful tools for processing data with physical instability in it

E.g. “get t when linear growth ends”, “measure growth rate”

Functions

pwl2_flatend(xx, b0, m0, end0)

evaluate xx at piecewise linear function with 2 pieces, with final piece slope=0.

pwl3_flatend(xx, b0, m0, end0, m1, end1add)

evaluate xx at piecewise linear function with 3 pieces, with final piece slope=0.

Classes

Pwl2FlatendFitter(array, dim, *[, ...])

CurveFitter with f = pwl2_flatend, for fitting data to piecewise linear with 2 pieces.

Pwl3FlatendFitter(array, dim, *[, ...])

CurveFitter with f = pwl3_flatend, for fitting data to piecewise linear with 3 pieces.