|
Baby Language Lab Scripts
A collection of data processing tools.
|
This class writes statistics from the stats app to a csv file. More...

Public Member Functions | |
| def | __init__ |
| Constructor. More... | |
| def | export |
| Performs the write to the CSV file. More... | |
Public Attributes | |
| config | |
| trs_filename | |
| export_filename | |
This class writes statistics from the stats app to a csv file.
Definition at line 10 of file stats_exporter.py.
| def parsers.stats_exporter.StatsExporter.__init__ | ( | self, | |
| config, | |||
| trs_filename, | |||
| export_filename | |||
| ) |
Constructor.
| self | |
| config | (Configuration) The output configuration to write to the csv file. |
Definition at line 14 of file stats_exporter.py.
| def parsers.stats_exporter.StatsExporter.export | ( | self, | |
progress_update_fcn = None, |
|||
progress_next_phase_fcn = None |
|||
| ) |
Performs the write to the CSV file.
| self | |
| progress_update_fcn | (function=None) function accepting a value in [0,1] to display as a progress bar - see utils.ProgressDialog. This value is used to indicate the level of completeness of the current phase |
| progress_next_phase_fcn(function=None) | - moves the progress bar to the next phase, which causes new text to be displayed in the bar - see utils.ProgressDialog |
Definition at line 26 of file stats_exporter.py.
| parsers.stats_exporter.StatsExporter.config |
Definition at line 15 of file stats_exporter.py.
| parsers.stats_exporter.StatsExporter.export_filename |
Definition at line 17 of file stats_exporter.py.
| parsers.stats_exporter.StatsExporter.trs_filename |
Definition at line 16 of file stats_exporter.py.