pastas.model.Model.add_noisemodel#

pastas.model.Model.add_noisemodel(noisemodel: pastas.typing.NoiseModel) None#

Adds a noisemodel to the time series Model.

Parameters:

noisemodel (pastas.noisemodels.NoiseModelBase) – Instance of NoiseModelBase.

Examples

>>> n = ps.ArNoiseModel()
>>> ml.add_noisemodel(n)

Notes

As of Pastas version 1.5.0, a noisemodel should be added to the model using this method, and is not added by default anymore when constructing as Pastas Model. If a noisemodel is present, it will always be used during optimization.