pastas.stressmodels.LinearTrend.to_dict#

pastas.stressmodels.LinearTrend.to_dict(series: bool = False) dict#

Export the stress model to a dictionary.

Parameters:

series (bool, optional) – Whether to include the time series data of the stresses in the dictionary. Default is False.

Returns:

Dictionary with base settings to reconstruct the stress model object.

Return type:

dict[str, Any]