def load_nanomax_monitor(logfile):
    """
    Load the default monitor for a dataset measured at NANOMAX.

    :param logfile: h5py File object of NANOMAX .h5 scan file
    :return: the default monitor values
    """
    group_key = list(logfile.keys())[0]  # currently 'entry'
    monitor = logfile["/" + group_key + "/measurement/alba2"][:]
    return monitor