swot_simulator.orbit_propagator.Orbit._temporal_overlap#

static Orbit._temporal_overlap(time: ndarray, temporal_overlap: Optional[float]) int[source]#

Converts the temporal overlap to an integer number of samples.

Parameters
  • time (numpy.ndarray) – Date of the positions (in seconds).

  • temporal_overlap (float, optional) – Simulate products overlapping by this amount of time, in seconds, with the previous and next products.

Returns

temporal overlap in number of samples

Return type

int