uvex_transients.simulation.yield_table.YieldTable.expected_detections_latex#

YieldTable.expected_detections_latex(precision: int = 3) → str[source]#

Render each transient type’s expected detections, with both uncertainty sources, as LaTeX.

Uses the same double-stacked-uncertainty notation as to_latex’s expected_detections column (v^{+u_b}_{-l_b}{}^{+u_r}_{-l_r}, binomial uncertainty first, rate uncertainty second), but on its own – a LaTeX align* block, one line per transient type – rather than a full table.

Parameters:

precision (int, optional) – Significant figures for every formatted number. The default is 3.

Returns:

The rendered LaTeX source, e.g. for IPython.display.Latex; see display_expected_detections.

Return type:

str