A computer-readable digital storage medium having stored thereon a computer program having a program code for performing, when running on a computer or microprocessor, a method for determining a time measure depending on a time of arrival of a pulse signal comprising a sequence of pulses from a transmitter, the method comprising:
- providing a variable and controllable integration window, extending from a starting point to an integrator sampling point;
- controlling the integration window in a time-successive way so that the sampling points of successive integration windows are changed by a time delay from a current integration window to a later integration window, wherein the time delay is smaller than half of the integration window;
- and
- generating the time measure as an indication indicating which later integration window comprises a sampled integrator value exceeding a threshold or being larger than a sampled integrator value for a timely preceding or a timely succeeding integration window,
- when the computer program is executed on the computer.