PyFoam.LogAnalysis.ValueLineAnalyzer module¶
Do analysis for a line with values
-
class
PyFoam.LogAnalysis.ValueLineAnalyzer.
ValueLineAnalyzer
(name, pre, titles=[])[source]¶ Bases:
PyFoam.LogAnalysis.FileLineAnalyzer.FileLineAnalyzer
Parses lines for numeric values
The line starts with a predefined string
-
__init__
(name, pre, titles=[])[source]¶ - Parameters
name – name of the expression (needed for output)
pre – the string that starts the line
-
__module__
= 'PyFoam.LogAnalysis.ValueLineAnalyzer'¶
-
-
class
PyFoam.LogAnalysis.ValueLineAnalyzer.
ValueNameFinderLineAnalyzer
(trigger, analyze, val, idNr=1, nr=1)[source]¶ Bases:
PyFoam.LogAnalysis.NameFinderLineAnalyzer.NameFinderLineAnalyzer
Finds the names and notifies it’s ValueLineAnalyzer
-
__init__
(trigger, analyze, val, idNr=1, nr=1)[source]¶ - Parameters
trigger – The regular expression that has to match before data is collected
nr – The number of lines after the match that data is collected
analyze – The regular expression that is used for analysis
idNr – The id of the group that is used for analysis
val – The ValueLineAnalyzer that needs the names
-
__module__
= 'PyFoam.LogAnalysis.ValueLineAnalyzer'¶
-