PyFoam.LogAnalysis.ReplayDataFileAnalyzer module

Doesn’t really analyze the lines but returns values from a data file

class PyFoam.LogAnalysis.ReplayDataFileAnalyzer.ReplayDataFileAnalyzer(timeName=None, validData=None, validMatchRegexp=False, csvName=None, txtName=None, excelName=None, namePrefix=None, skip_header=0, stripCharacters=None, progressTemplate=None, replaceFirstLine=None, startTime=None, endTime=None)[source]

Bases: PyFoam.LogAnalysis.GeneralLineAnalyzer.GeneralLineAnalyzer

Reads Data into a SpreadsheetData-object and then every time a new time value comes up returns the data from that file

__init__(timeName=None, validData=None, validMatchRegexp=False, csvName=None, txtName=None, excelName=None, namePrefix=None, skip_header=0, stripCharacters=None, progressTemplate=None, replaceFirstLine=None, startTime=None, endTime=None)[source]
Parameters
  • titles – The titles of the data elements

  • progressTemplate – Progress output to be reported

  • plotIterations – plot iterations instead of the real time

__module__ = 'PyFoam.LogAnalysis.ReplayDataFileAnalyzer'
addToTimelines(data)[source]

Method that adds matched data to timelines

Parameters

match – data matched by a regular expression

doMatch(line)[source]
makeName(name)[source]
processProgressTemplate(data)[source]

Add progress information

timeChanged()[source]

Sets the current time in the timelines