pastas.timer.StatTimer#

class pastas.timer.StatTimer(ml: pastas.typing.Model, *args, statistic: Literal['rmse', 'sse', 'mae', 'rsq', 'evp', 'nse', 'nnse', 'aic', 'aicc', 'bic'] = 'rmse', update_interval: int | None = None, **kwargs)#

StatTimer that updates a user-specified solve statistic every N iterations.

Methods#

timer(p[, n])

Callback method that updates RMSE in the progress bar.