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

Class TimelineDirectory

source code


A directory of sampled times

Instance Methods [hide private]
 
__contains__(self, value) source code
 
__getitem__(self, value) source code
 
__init__(self, case, dirName='probes', writeTime=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__iter__(self) source code
 
__len__(self) source code
 
getData(self, times, value=None, position=None, vectorMode=None)
Get data that mstches the given times most closely
source code
 
getDataLocation(self, value=None, position=None, vectorMode=None)
Get Timeline sets
source code
 
positions(self)
Returns all the found positions
source code
 
timeRange(self)
Return the range of possible times
source code

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

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 help(type(x)) 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__

getData(self, times, value=None, position=None, vectorMode=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
  • vectorMode - which component of the vector to use

getDataLocation(self, value=None, position=None, vectorMode=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