def find_the_ddoa_values(tmp_ips_dict, new_index_list):
    """
    Find the tdoa values from the tdoa values in the IPS that
    correspond to the new index.
    """

    all_tdoa = list(tmp_ips_dict['tdoa_of_anchors'])
    sel_anch_tdoa_list = list()

    for index in new_index_list:
        sel_anch_tdoa_list.append(all_tdoa[index])

    return sel_anch_tdoa_list