ctaplot/gammaboard/gammaboard.py
def find_data_files(experiment, experiments_directory):
    """
    Find in the experiment folder all the hdf5 files containing results

    Args
        experiment (str): the name of the experiment
        experiments_directory (str): the path to the folder containing the experiment folders

    Returns
        List of files
    """
    data_folder = experiments_directory + '/' + experiment
    file_set = set()
    for dirname, dirnames, filenames in os.walk(data_folder):
        for file in filenames:
            filename, ext = os.path.splitext(file)
            if ext == '.h5':
                file_set.add(dirname + '/' + file)
    return tuple(file_set)

    Find in the experiment folder all the hdf5 files containing results

    Args
        experiment (str): the name of the experiment
        experiments_directory (str): the path to the folder containing the experiment folders

    Returns
        List of files
    
Find in the experiment folder all the hdf5 files containing results
Args
experiment (str): the name of the experiment
experiments_directory (str): the path to the folder containing the experiment folders

Returns
List of files
Find in the experiment folder all the hdf5 files containing results Args experiment ( str ) : the name of the experiment experiments_directory ( str ) : the path to the folder containing the experiment folders Returns List of files
def find_data_files(experiment, experiments_directory):
    data_folder = experiments_directory + '/' + experiment
    file_set = set()
    for dirname, dirnames, filenames in os.walk(data_folder):
        for file in filenames:
            filename, ext = os.path.splitext(file)
            if ext == '.h5':
                file_set.add(dirname + '/' + file)
    return tuple(file_set)
def find_data_files ( experiment , experiments_directory ) : data_folder = experiments_directory + '/' + experiment file_set = set ( ) for dirname , dirnames , filenames in os . walk ( data_folder ) : for file in filenames : filename , ext = os . path . splitext ( file ) if ext == '.h5' : file_set . add ( dirname + '/' + file ) return tuple ( file_set )
Find in the experiment folder all the hdf5 files containing results
Args
experiment (str): the name of the experiment
experiments_directory (str): the path to the folder containing the experiment folders
Find in the experiment folder all the hdf5 files containing results Args experiment ( str ) : the name of the experiment experiments_directory ( str ) : the path to the folder containing the experiment folders
"""
    Find in the experiment folder all the hdf5 files containing results

    Args
        experiment (str): the name of the experiment
        experiments_directory (str): the path to the folder containing the experiment folders

    Returns
        List of files
    """
experiment
experiments_directory