import pickle


def load_results_dict(pickle_filename):
    """
    Load results in a dict that have been pickled.

    Parameters
    ----------
    pickle_filename : str
        DESCRIPTION. String with the filename we are loading results from

    Returns
    -------
    results_dict : dict
        DESCRIPTION. Dict holding results we want to analyze.

    """
    with open(pickle_filename, 'rb') as f:
        results_dict = pickle.load(f)
    return results_dict