We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fbaeb0 commit e0cd284Copy full SHA for e0cd284
src/growthcurves/inference.py
@@ -725,8 +725,11 @@ def _extract_stats_mech_baranyi(
725
stats["fit_method"] = "model_fitting_mech_baranyi"
726
return stats
727
728
- # Phase boundaries using specified method
729
- exp_phase_start, exp_phase_end = compute_phase_boundaries(
+ # Lag time is the fitted h0 parameter directly
+ exp_phase_start = float(params["h0"])
730
+
731
+ # Exp phase end using specified method
732
+ _, exp_phase_end = compute_phase_boundaries(
733
t_dense,
734
N_dense,
735
method=phase_boundary_method,
0 commit comments