import datetime


def time_scan_time(pp_delays, exp_time, reps):
    """Return time, when the measurment is done.

    Parameters
    ----------
    pp_delays : int
        Number of different pump-probe time delays that are scaned.

    exp_time : int
        Number of seconds of a individual scan.

    reps : int
        Number of repetitions to be done

    Returns
    -------
    datetime obj showing when the scan is done."""
    ret = datetime.datetime.now()
    ret += datetime.timedelta(minutes=pp_delays*exp_time*reps)
    return ret