def get_header_names(raw_data_headers, header_index_range):
    """
    This function takes in the raw data column headers and header index list and creates a list with the header names

    :param raw_data_headers: A list of all the column names from raw data
    :param header_index_range: A list of indices for a specific parameter
    :return: header_names_list: A list of header names that correspond to the header_index_range list
    """

    header_names_list = list()
    for index in header_index_range:
        header_names_list.append(raw_data_headers[index])

    return header_names_list