def get_df_with_data_from_real_MIRCs_only(all_data_df):
    """Clean the data such that only data from images which yielded MIRCs is contained

    Args:
        all_data_df: dataframe with data from one experimental conditions

    Returns:
        all_data_df_real_MIRCs: dataframe with the data of those images that yielded real MIRCs only
    """

    # create a mask to only consider those data points that contain real
    # MIRCs. This means that the recognition gap is larger than 0.
    mask_real_MIRCs = all_data_df.rec_gap > 0
    # create a dataframe with the data of those images that yielded real MIRCs
    # only.
    all_data_df_real_MIRCs = all_data_df[mask_real_MIRCs]
    return all_data_df_real_MIRCs