Package PyFoam :: Package RunDictionary :: Module TimelineDirectory :: Class TimelineDirectory
[hide private]
[frames] | no frames]

Class TimelineDirectory

source code

object --+
         |
        TimelineDirectory

A directory of sampled times

Instance Methods [hide private]
 
__init__(self, case, dirName="probes", writeTime=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__iter__(self) source code
 
__getitem__(self, value) source code
 
__contains__(self, value) source code
 
sorttimes(self, x, y)
Sort function for the solution files
source code
 
positions(self)
Returns all the found positions
source code
 
timeRange(self)
Return the range of possible times
source code
 
getDataLocation(self, value=None, position=None)
Get Timeline sets
source code
 
getData(self, times, value=None, position=None)
Get data that mstches the given times most closely
source code

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, case, dirName="probes", writeTime=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • case - The case directory
  • dirName - Name of the directory with the timelines
  • writeTime - The write time-directory where the data in question is to be plotted
Overrides: object.__init__

getDataLocation(self, value=None, position=None)

source code 

Get Timeline sets

Parameters:
  • value - name of the value. All if unspecified
  • position - name of the position of the value. All if unspecified

getData(self, times, value=None, position=None)

source code 

Get data that mstches the given times most closely

Parameters:
  • times - a list with times
  • value - name of the value. All if unspecified
  • position - name of the position of the value. All if unspecified