def get_window_delimiters(number_of_bins_d, scaling_k, first_bin_size, embedding_step_size):
    """
    Get delimiters of the window, used to describe the embedding. The
    window includes both the past embedding and the response.

    The delimiters are times, relative to the first bin, that separate 
    two consequent bins.
    """

    bin_sizes = [first_bin_size * 10**((number_of_bins_d - i) * scaling_k)
                 for i in range(1, number_of_bins_d + 1)]
    window_delimiters = [sum([bin_sizes[j] for j in range(i)])
                         for i in range(1, number_of_bins_d + 1)]
    window_delimiters.append(window_delimiters[number_of_bins_d - 1] + embedding_step_size)
    return window_delimiters