sp_validation.dashboard.render

Render the dashboard figure set for a cosmo_val run.

Reads only cached products (see sp_validation.dashboard.products) and writes the PNGs plus figures.json, the manifest the page generator lays out: the sections in page order, one entry per figure (section, optional folded group, caption, size class) and the B-mode PTE table. A run with two or more versions also gets the version comparisons and one pair of PTE rows per version; the first version is the reference for every other figure.

Usage (inside the container):

python -m sp_validation.dashboard.render --run-dir RUN --version SP_v2.0.0 \
    --maps-dir PRODUCTS --out RUN/dashboard-figures
coefficient_draw_caption(samples)[source]

Name the cached ranges separately from the corner plot’s tail clipping.

run_config(run_dir)[source]

Scale cuts from the run’s recorded configuration, when present.

class Figures(out)[source]

Bases: object

Collects figure entries while rendering.

path(name)[source]
add(fid, section, caption, size, narrow=False, group=None)[source]
load_version(run_dir, version, maps_dir, cat_config)[source]
render_correlations(figs, corr_dir, version)[source]

Figures from the correlation products present in corr_dir.

render(run_dir, versions, out, cat_config, maps_dir=None, corr_dir=None, corrected_tau_run=None, corrected_tau_version=None)[source]
main(argv=None)[source]