solver#

This module contains the different solvers that are available for Pastas.

All solvers inherit from the BaseSolver class, which contains general method for selecting the correct time series to misfit and options to weight the residuals or noise series.

Examples

Solve a model with a specific solver:

ml.solve(solver=ps.LeastSquares())

Classes#

LeastSquares

Solver based on Scipy's least_squares method [Virtanen et al., 2020].

LmfitSolve

Solving the model using the LmFit [Newville et al., 2019].

EmceeSolve

Solver based on MCMC approach in emcee [Foreman-Mackey et al., 2013].