pastas.solver.timer.SolveTimer.timer#

pastas.solver.timer.SolveTimer.timer(p: pastas.typing.ArrayLike, n: int = 1)#

Timer callback for ps.solver.LeastSquares.solve().

Parameters:
  • p (array-like) – The parameters passed by the callback, which are ignored here.

  • n (int, optional) – The iteration number passed by the callback, which is used to update the progress bar, by default 1.