uvex_transients.surveys.base.SurveySchedule.compute_max_gap#
- SurveySchedule.compute_max_gap(start_time: Time | None = None, end_time: Time | None = None, nside: int | None = None, order: str | None = None) Quantity[source]#
Compute each pixel’s worst-case (maximum) successive observation gap.
For a pixel observed at times
t_0, ..., t_N, this ismax_i(t_{i+1} - t_i), i.e. the maximum of the same consecutive-pair separations returned bycompute_cadence_time_differences()withpairs='consecutive'.- Parameters:
start_time (
Time, optional) – Optional time range over which to compute the maximum gap.end_time (
Time, optional) – Optional time range over which to compute the maximum gap.nside (
int, optional) – HEALPix resolution parameter, or None to useconfig["healpix.default_nside"].order (
str, optional) – HEALPix ordering scheme, either"nested"or"ring", or None to useconfig["healpix.default_order"].
- Returns:
Full-sky HEALPix map of each pixel’s maximum successive-visit gap, shape
(12 * nside**2,). Pixels observed fewer than twice are assignedNaN.- Return type: