Home | Trees | Index | Help |
---|
Package PyFoam :: Package LogAnalysis :: Module RegExpLineAnalyzer :: Class RegExpLineAnalyzer |
|
LogLineAnalyzer
--+ |FileLineAnalyzer
--+ | RegExpLineAnalyzer
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-stepMethod Summary | |
---|---|
name - name of the expression (needed for output exp - the regular expression idNr - number of the pattern group that is used as an identifier | |
Analyzes line and stores and writes the data | |
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 | |
get the data set for the identifier ID | |
Inherited from FileLineAnalyzer | |
Creates the OutFileCollection-object | |
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 |
Method Details |
---|
__init__(self,
name,
exp,
idNr=None)
name - name of the expression (needed for output exp - the regular
expression idNr - number of the pattern group that is used as an
identifier
|
doAnalysis(self, line)Analyzes line and stores and writes the data |
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 |
sub(self, ID)get the data set for the identifier ID |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Aug 15 20:51:54 2005 | http://epydoc.sf.net |