models_to_table

openpnm.utils.misc.models_to_table(obj, params=True)[source]

Converts a ModelsDict object to a ReST compatible table

Parameters
  • obj (Base) – Any object that has a models attribute

  • params (bool) – Indicates whether or not to include a list of parameter values in the table. Set to False for just a list of models, and True for a more verbose table with all parameter values.