a_matrix_to_html_table

a_matrix_to_html_table(a_matrix: xr.DataArray, megacomplex_suffix: str, *, normalize_initial_concentration: bool = False, decimal_places: int = 3) str[source]

Create HTML multi header table from a-matrix.

Parameters:
  • a_matrix (xr.DataArray) – DataArray containing the a-matrix values and coordinates.

  • megacomplex_suffix (str) – Megacomplex suffix used for the a-matrix data variable and coordinate names.

  • 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.

Returns:

Multi header HTML table representing the a-matrix.

Return type:

str