Home | History | Annotate | Download | only in btt

Lines Matching defs:files

3 # btt_plot.py: Generate matplotlib plots for BTT generate data files
23 btt_plot.py: Generate matplotlib plots for BTT generated data files
25 Files handled:
47 <data-files...>
51 q2d, d2c and q2c). It will find files with the appropriate suffix for
52 each type ('aqd.dat' for example). If such files are found, a plot for
89 def get_data(files):
90 """Retrieve data from files provided.
154 for file in files:
187 Returns list of (data) files that need to be processed -- /unless/
189 data files are ignored...
230 fatal('Need type of data files to process - (-t <type>)')
357 """Returns the list of files for the -A option based upon type"""
360 files = []
366 files.append(fn)
368 files = glob.glob('*%s.dat' % type)
369 return files
373 files = parse_args(sys.argv)
378 files = get_files(t)
379 if len(files) == 0:
382 generate_output(t, get_data(files))
385 for file in files:
390 elif len(files) < 1:
391 fatal('Need data files to process')
393 generate_output(type, get_data(files))