def calc_ramp_time(integration_time, num_reset_frames, frame_time):
    """Calculates the ramp time -- or the integration time plus overhead
    for resets.

    Parameters
    ----------
    integration_time : float
        Integration time (in seconds)
    num_reset_frames : int
        Rest frames per integration
    frame_time : float
        Frame time (in seconds)

    Returns
    -------
    ramp_time : float
        Ramp time (in seconds).
    """

    ramp_time = integration_time + (num_reset_frames - 1) * frame_time

    return ramp_time