sp_validation.dashboard.products¶
Loaders from cached cosmo_val products to the plain arrays the figures draw.
Every loader takes explicit paths and returns a dict; none measures, fits or
transforms anything. Cosmological products are read through the blind-stamp
checks of sp_validation.sacc_io, so a figure can only draw vectors
saved under the blind its catalogue is declared under
(declared_blind()).
RunProducts resolves those paths inside a cosmo_val run directory for
one catalogue version; the figure functions never see the directory layout.
- class RunProducts(run_dir: Path, version: str, extra_dir: Path | None = None)[source]¶
Bases:
objectPaths of one version’s cached products in a cosmo_val run directory.
- property cv¶
- property assembled¶
- property pure_eb¶
- property cosebis¶
- property cl_cov¶
NaMaster covariance of the C_ell band powers.
- property psf_fit¶
- property tau_cov¶
- property leakage¶
- property summary¶
- property xi_covariance¶
OneCovariance reporting-grid ξ± covariance (.dat), if present.
- property field_maps¶
- property cosebis_grid¶
COSEBIs B PTEs over every reporting-bin cut (
cosebis_grid).
- property weight_cells¶
- catalogue_name(catalogues, version)[source]¶
The catalogue-config entry describing
version: its own, or the one its_leak_corr/_seed<N>variant derives from (as the workflow resolves it).
- declared_blind(cat_config, version)[source]¶
The blind
versionis declared under in the catalogue config.The expected blind comes from the declaration, never from a product’s own stamp, so a stale product of a catalogue that has since been put under a blind is refused by the loaders rather than drawn.
- load_xi(sacc_path, blind)[source]¶
Reporting-grid ξ± with the covariance carried by the assembled SACC.
- load_cosebis(npz_path, blind)[source]¶
Every cached COSEBIs scale cut, keyed by
(theta_min, theta_max).
- powspace_edges(ell_eff, lmin=None, lmax=2048, power=0.5)[source]¶
Inclusive multipole edges of the powspace band powers.
Reconstructs the NaMaster binning of
sp_validation.pseudo_cl.make_namaster_bin()and checks that each band’s mean multipole reproduces the stored effective ell.
- load_cosebis_grid(npz_path, blind)[source]¶
The COSEBIs scale-cut PTE grid, checked against the expected blind.
- load_cl(sacc_path, cov_path, blind)[source]¶
Band powers, their multipole edges, and the NaMaster covariance blocks.
- load_rho_tau(sacc_path, tau_cov_path, psf_fit_path, blind)[source]¶
ρ/τ statistics with their covariance blocks, and the PSF-fit samples.
- load_tau(sacc_path, tau_cov_path, blind)[source]¶
τ-only SACC part and theory covariance; no cosmology or fit required.
- load_corrected_tau(run_dir, version, cat_config)[source]¶
Resolve a τ-only run explicitly, avoiding a corrected full-DAG run.
- load_correlation(path)[source]¶
A
sp_validation.dashboard.correlationsproduct as{label: {quantity: array}}plus"provenance".