Skip to content

Qa Reporting

Module: spectralbridge.qa.reporting.

Human-readable stage reports and cross-stage synthesis.

API glossary ยท Workflow / scientific context

Signatures and documentation below are collected from the current source. Advanced objects are not newly declared stable by inclusion here.

Audience: advanced.

render_stage_html

render_stage_html(report: StageQAReport, output_path: Path) -> Path

Write a standalone deterministic HTML report for one stage.

Audience: public. Also exported as spectralbridge.qa.assemble_combined_report.

assemble_combined_report

assemble_combined_report(flightline_dir: Path) -> tuple[Path, dict[str, Any]]

Assemble stage reports and derive cross-stage findings.

Parameters:

Name Type Description Default
flightline_dir Path

Existing canonical completed flightline directory containing stage artifacts and QA sidecars.

required

Returns:

Type Description
tuple[Path, dict[str, Any]]

Combined HTML path and report payload; stage findings and unavailable diagnostics remain explicit.

See Also

spectralbridge.qa.metrics.reflectance_summary : Related source-derived API contract.