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

pastas.solver.LeastSquares.objfunction#

LeastSquares.objfunction(p, noise, weights, callback)[source]#
Parameters
  • p (ArrayLike) –

  • noise (bool) –

  • weights (Series) –

  • callback (CallBack) –

Return type

ArrayLike