pastas.stressmodels.LinearTrend.to_dict#
- pastas.stressmodels.LinearTrend.to_dict(series: bool = False) dict[str, Any]#
Export the stressmodel to a dictionary.
- Parameters:
series (bool, optional) – Whether to include the time series in the dictionary. If False, only the metadata of the time series is included. Default is False since StepModel does not have a time series.
- Returns:
A dictionary containing the information of the stressmodel.
- Return type: