Package PyFoam :: Package Execution :: Module GnuplotRunner :: Class GnuplotWatcher
[hide private]
[frames] | no frames]

Class GnuplotWatcher

source code

                       object --+            
                                |            
    AnalyzedCommon.AnalyzedCommon --+        
                                    |        
StepAnalyzedCommon.StepAnalyzedCommon --+    
                                        |    
                            GnuplotCommon --+
                                            |
                               object --+   |
                                        |   |
                BasicWatcher.BasicWatcher --+
                                            |
                                           GnuplotWatcher

Instance Methods [hide private]
 
__init__(self, logfile, smallestFreq=0., persist=None, silent=False, tailLength=1000, sleep=0.1, replotFrequency=3600, plotLinear=True, plotCont=True, plotBound=True, plotIterations=False, plotCourant=False, plotExecution=False, plotDeltaT=False, customRegexp=None, writeFiles=False, hardcopy=False, hardcopyFormat="png", hardcopyPrefix=None, raiseit=False, progress=False, start=None, end=None, singleFile=False, plottingImplementation=None, solverNotRunning=False)
TODO: Docu
source code
 
startHandle(self)
to be called before the program is started
source code
 
tailingHandle(self)
called when the first line is output
source code
 
timeHandle(self)
Handler that reacts to the change of time.
source code

Inherited from GnuplotCommon: stopHandle

Inherited from StepAnalyzedCommon.StepAnalyzedCommon: timeChanged

Inherited from AnalyzedCommon.AnalyzedCommon: addAnalyzer, addTrigger, createPlots, getAnalyzer, getDirname, getTime, hasAnalyzer, lineHandle, listAnalyzers, picklePlots, reset, tearDown

Inherited from BasicWatcher.BasicWatcher: getSize, start

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, logfile, smallestFreq=0., persist=None, silent=False, tailLength=1000, sleep=0.1, replotFrequency=3600, plotLinear=True, plotCont=True, plotBound=True, plotIterations=False, plotCourant=False, plotExecution=False, plotDeltaT=False, customRegexp=None, writeFiles=False, hardcopy=False, hardcopyFormat="png", hardcopyPrefix=None, raiseit=False, progress=False, start=None, end=None, singleFile=False, plottingImplementation=None, solverNotRunning=False)
(Constructor)

source code 

TODO: Docu

Parameters:
  • smallestFreq - smallest Frequency of output
  • persist - Gnuplot window persistst after run
Overrides: object.__init__

startHandle(self)

source code 

to be called before the program is started

Overrides: BasicWatcher.BasicWatcher.startHandle
(inherited documentation)

tailingHandle(self)

source code 

called when the first line is output

Overrides: BasicWatcher.BasicWatcher.tailingHandle
(inherited documentation)

timeHandle(self)

source code 

Handler that reacts to the change of time. To be overridden be sub-classes

Overrides: StepAnalyzedCommon.StepAnalyzedCommon.timeHandle
(inherited documentation)