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 | |
---|---|
| |
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 | |
Sets the titles anews | |
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 | |
The value of the time has changed in the Log-file |
Method Details |
---|
__init__(self,
name,
exp,
idNr=None,
titles=[])
|
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 Thu Feb 23 18:40:58 2006 | http://epydoc.sf.net |