v1.0.3
This release brings bugfixes and a tiny breaking change related to the bletl.growth.fit_mu_t function:
- The model was refactored to describe µ only for the segments inbetween the data points. This removes a bias introduced by incorrectly shifting the prediction by 1 timestep. Unfortunately this also means that X and mu have different lengths, so the
GrowthRateResult.twas removed in favor ofGrowthRateResult.t_dataandGrowthRateResult.t_segments. - A
mu_priorkwarg was added tofit_mu_t. This allows the user to predefine where the random walk should start and can greatly improve the result on datasets that don't start with a lag phase. - The
σkwarg was renamed todrift_scaleand is no longer optional. - The probability threshold used for switchpoint detection can now be user-configured.
- Two bugs in filtering detected switchpoints were fixed.
- Initial growh rate guesses are now clipped to the interval [-0.5, 0.5].