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

pastas.model.Model.add_transform#

Model.add_transform(transform)[source]#

Add a Transform to the time series Model.

Parameters

transform (ps.ThresholdTransform) – An instance of a pastas.transform class.

Examples

>>> tt = ps.ThresholdTransform()
>>> ml.add_transform(tt)

See also

pastas.transform