apm_convert_csv_stats_file

Description: Generates a YAML formatted file from a CSV stat file.

For usage information run: apm_convert_csv_stats_file -h

Written By: Matthew stadelman
Date Written: 2017/03/03
Last Modfied: 2017/04/23

class apmapflow.scripts.apm_convert_csv_stats_file.StatFile(infile)[source]

Parses and stores information from a simulation statisitics file. This class helps facilitate data mining of legacy simulation results. If available the YAML formatted file should be used instead as it can be directly parsed into a dictionary by the yaml module.

parse_stat_file(stat_file=None)[source]

Parses either the supplied infile or the class’s infile and uses the data to populate the data_dict.

apmapflow.scripts.apm_convert_csv_stats_file.main()[source]

Driver function to process the stat file.