Home | Trees | Index | Help |
---|
Package PyFoam :: Package LogAnalysis :: Module RegExpLineAnalyzer :: Class RegExpLineAnalyzer |
|
LogLineAnalyzer
--+ |GeneralLineAnalyzer
--+ | RegExpLineAnalyzer
RegExpTimeLineLineAnalyzer
Parses lines for an arbitrary regular expression
Only one data-set is stored per time-step
One pattern group of the RegExp can be used as a unique identifier, so that more than one data-sets can be stored per time-step
The string %f% in the regular expression is replaced with the regular expression for a floating point numberMethod Summary | |
---|---|
| |
Method that adds matched data to files | |
Method that adds matched data to timelines | |
get a data value at a specific time for a specific ID | |
get a list of the available IDs | |
get the last time for the identifier ID | |
get the available time for the identifier ID | |
Method at the start of a successfull match | |
get the data set for the identifier ID | |
Inherited from GeneralLineAnalyzer | |
General analysis method. | |
Method at the end of a successfull match | |
Return the timeline as two list: the times and the values | |
Creates the OutFileCollection-object | |
Sets the titles anew | |
Sets the current time in the timelines | |
Inherited from LogLineAnalyzer | |
Return current time | |
If the analyzer thinks the simulation should be stopped (for instance because of convergence) it returns false | |
Introduces the LineAnalyzer to its supervisor |
Class Variable Summary | |
---|---|
str |
floatRegExp = '[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?...
|
Method Details |
---|
__init__(self,
name,
exp,
idNr=None,
titles=[],
doTimelines=False,
doFiles=True)
|
addToFiles(self, match)Method that adds matched data to files
|
addToTimelines(self, match)Method that adds matched data to timelines
|
getData(self, time=None, ID=None)get a data value at a specific time for a specific ID |
getIDs(self)get a list of the available IDs |
getLast(self, ID=None)get the last time for the identifier ID |
getTimes(self, ID=None)get the available time for the identifier ID |
startAnalysis(self, match)Method at the start of a successfull match
|
sub(self, ID)get the data set for the identifier ID |
Class Variable Details |
---|
floatRegExp
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Jan 22 23:52:48 2007 | http://epydoc.sf.net |