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 is max_i(t_{i+1} - t_i), i.e. the maximum of the same consecutive-pair separations returned by compute_cadence_time_differences() with pairs='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 use config["healpix.default_nside"].

  • order (str, optional) – HEALPix ordering scheme, either "nested" or "ring", or None to use config["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 assigned NaN.

Return type:

Quantity