def dead_time(info_dict):
    """ Compute the dead time due to the readout and the dithering

    Parameters
    ----------
    info_dict: dictionary

    Returns
    -------
    t_dead: float
        dead time in seconds
    """
    # t_dead = max(t_dithering(), info_dict['readouttime'])
    t_dead = info_dict["T_dithering"]
    info_dict["deadtime_tot"] = t_dead
    return info_dict