pastas.stressmodels.WellModel.handle_stress#

static WellModel.handle_stress(stress, settings)[source]#

Internal method to handle user provided stress in init.

Parameters
  • stress (pandas.Series, pastas.TimeSeries, list or dict) – stress or collection of stresses

  • settings (dict or iterable) – settings dictionary

Returns

stress – return a list with the stresses transformed to pastas TimeSeries.

Return type

list