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

pastas.solver.LeastSquares.set_model#

LeastSquares.set_model(ml)#

Method to set the Pastas Model instance.

Parameters

ml (pastas.Model instance) –