Version: v0.4.0

boundaries

Stable function · Prefetch and windows

Tier: stable · Kind: function · Topic: Prefetch and windows

PythonJuliaRust
not exportedboundariesnot exported

Python

Python does not export this function.

Julia

boundaries(g::PrefetchGroup)
boundaries(g::PrefetchGroup) -> Vector{Float64}

The sorted, de-duplicated union B of the members’ refresh_times_closed and, for a temporal member, its run-window start, where the record in effect there takes over (spec/esm-sources.md §2.6), in their own cadence unit. Epoch k (1-based) is [B[k], B[k+1]), the last one open on the right. When a member’s window ends on one of its records, the last boundary is that window end: its epoch holds no step of the run, but its sample is the refresh there. Boundaries are solver tstops, so no step straddles one, and a step’s epoch is searchsortedlast(B, t0) in both directions (spec/prefetch.md §4).

Source

Rust

Rust does not export this function.