The default behavior for adding and solving with noisemodels has changed from Pastas 1.5. Find more information here

pastas.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.

To solve a model the following syntax can be used:

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

Classes

BaseSolver

All solver instances inherit from the BaseSolver class.

EmceeSolve

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

LeastSquares

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

LmfitSolve

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