PyFoam.LogAnalysis.GeneralLineAnalyzer module¶
Line analyzer with output and the capability to store lines
-
class
PyFoam.LogAnalysis.GeneralLineAnalyzer.
GeneralLineAnalyzer
(doTimelines=False, doFiles=False, titles=[], accumulation=None, singleFile=False, progressTemplate=None, plotIterations=False, startTime=None, endTime=None)[source]¶ Bases:
PyFoam.LogAnalysis.LogLineAnalyzer.LogLineAnalyzer
Base class for analyzers that write data to files and store time-lines
Combines the capabilities of TimeLineLineAnalyzer and FileLineAnalyzer
-
addToFiles
(match)[source]¶ Method that adds matched data to files
Parameters: match – data matched by a regular expression
-
addToTimelines
(match)[source]¶ Method that adds matched data to timelines
Parameters: match – data matched by a regular expression
-
doAnalysis
(line)[source]¶ General analysis method. Derived classes should instead override callbacks
-
getTimeline
(name)[source]¶ Parameters: name – Name of the timeline to return Returns: the timeline as two list: the times and the values
-