Package pylal :: Package dq :: Module dqFrameUtils :: Class FrameCache
[hide private]
[frames] | no frames]

Class FrameCache

source code

object --+        
         |        
      list --+    
             |    
glue.lal.Cache --+
                 |
                FrameCache

An object representing a frame cache file. Currently it is possible to add anything to a FrameCache. This method should check that the thing you are adding is a FrameCacheEntry and throw and error if it is not.

Nested Classes [hide private]
  entry_class
An object representing one line in a frame cache file.
Instance Methods [hide private]
 
sieve(self, ifos=None, description=None, segment=None, duration=None, exact_match=False)
Return a FrameCache object with those FrameCacheEntries that contain the given patterns (or overlap, in the case of segment).
source code
 
get_files(self) source code

Inherited from glue.lal.Cache: __and__, __getslice__, __iand__, __ior__, __isub__, __or__, __sub__, checkfilesexist, pfnlist, to_segmentlistdict, tofile, topfnfile, unique

Inherited from list: __add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __iadd__, __imul__, __init__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setitem__, __setslice__, __sizeof__, append, count, extend, index, insert, pop, remove, reverse, sort

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from glue.lal.Cache: from_urls, fromfile, fromfilenames

Class Variables [hide private]

Inherited from list: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

sieve(self, ifos=None, description=None, segment=None, duration=None, exact_match=False)

source code 

Return a FrameCache object with those FrameCacheEntries that contain the given patterns (or overlap, in the case of segment). If exact_match is True, then non-None ifos, description, and segment patterns must match exactly.

Bash-style wildcards (*?) are allowed for ifos and description.

Overrides: glue.lal.Cache.sieve