show_a_matrixes

show_a_matrixes(result: ResultLike, *, normalize_initial_concentration: bool = False, decimal_places: int = 3, a_matrix_min_size: int | None = None, expanded_datasets: tuple[str, ...] = (), heading_offset: int = 2) MarkdownStr[source]

Show all a-matrixes of a result grouped by dataset and megacomplex name.

Each dataset is wrapped in a HTML details tag which is by default collapsed.

Parameters:
  • result (ResultLike) – Result or result dataset.

  • normalize_initial_concentration (bool) – Whether or not to normalize the initial concentration. Defaults to False.

  • decimal_places (int) – Decimal places to display. Defaults to 3.

  • a_matrix_min_size (int | None) – Defaults to None.

  • expanded_datasets (tuple[str, ...]) – Names of dataset to expand the details view for. Defaults to empty tuple () which means no dataset is expanded.

  • heading_offset (int) – Number of heading level to offset the headings. Defaults to 2 which means that the first/top most heading is h3.

Returns:

Markdown representation of the a-matrixes used in the optimization.

Return type:

MarkdownStr