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

pastas.io.load#

load(fname, **kwargs)[source]#

Method to load a Pastas Model from file.

Parameters
  • fname (str) – string with the name of the file to be imported including the file extension.

  • kwargs – extension specific keyword arguments

Returns

ml – Pastas Model instance.

Return type

pastas.model.Model

Examples

>>> import pastas as ps
>>> ml = ps.io.load("model.pas")