def get_data_image(list_dataset):
    """Look for a raw data from h5 with a specific name '/data/data'
    if we don't find it we return the first datata with shape = 2.

    Parameters
    ----------
    list_dataset : list

        List with dataset from h5py.

    Returns
    -------
    dataset : The class 'h5py._hl.dataset.Dataset'

        Dataset with panels data.
    """
    for dataset in list_dataset:
        # panel data
        if dataset.name == "/data/data":
            return dataset
    for dataset in list_dataset:
        # we return the first data with shape = 2
        if len(dataset.shape) == 2:
            return dataset
    raise Exception("There is no data representing panels in the h5 file")