pqc.utils.diagnostics

Provide diagnostics helpers for QC outputs.

Summaries are printed in a human-readable form. Plotting is intentionally kept out of this module to keep dependencies minimal.

See also

pqc.utils.logging: Logging helpers used for summaries. pqc.pipeline.run_pipeline: Produces the DataFrame consumed by these helpers.

Functions

event_membership_mask(df, *[, use_applicable])

Return a boolean mask for event membership for plotting.

export_event_table(df[, backend_col])

Return a tidy event table (one row per detected transient).

export_structure_table(df, *[, group_cols, ...])

Return a tidy table of feature-structure diagnostics per group.

summarize_dataset(df[, backend_col])

Print a compact summary of dataset composition.

summarize_results(df[, backend_col])

Print summary of detector outputs and per-backend rates.