pastas.model.Model.to_dict#

pastas.model.Model.to_dict(series: bool = True, file_info: bool = True) dict#

Method to export a model to a dictionary.

Parameters:
  • series (bool, optional) – True to export the time series (default), False to not export them.

  • file_info (bool, optional) – Export file_info or not. See method Model.get_file_info.

Notes

Helper function for the self.to_file method. To increase backward compatibility most attributes are stored in dictionaries that can be updated when a model is created.