import pickle


def read_experiment_results(file_name_path):
    """
    Read in wrapper_base.Experiment object from .pickle file.

    Arguments
    ---------
    file_name_path : string
        path of .pickle file for reading wrapper_base.Experiment object

    Returns
    -------
    experiment : wrapper_base.Experiment object
        experiment that has been run or has been post-processed
    """
    with open(file_name_path, "rb") as file:
        experiment = pickle.load(file)
    return experiment