libera_utils.l1a.day_coverage.DayCoverageResult#
- class libera_utils.l1a.day_coverage.DayCoverageResult(mode: CoverageMode, covers_window: bool, window_frac: float, window_frac_ok: bool)#
Bases:
objectWhether L0 spans reach both edges of the buffered day window, and how much of it they cover.
- Variables:
mode (CoverageMode) – Mode of the policy the result was judged under.
covers_window (bool) – Whether the spans that touch the buffered day window
[D - B, D + 1 + B]reach both of its edges. UnderPRESENCE, equals presence.window_frac (float) – Covered fraction, in
[0, 1], of the buffered day window.window_frac_ok (bool) – Whether
window_fracmeets the policy’swindow_coverage_frac. UnderPRESENCE, equals presence.
Attributes
True when both checks pass.