| Home | Trees | Indices | Help | 
        
  | 
  
|---|
| 
       | 
  
                object --+    
                         |    
lal.utils.cache.CacheEntry --+
                             |
                            CacheEntry
    
  | 
|||
      
  | 
  |||
| 
     Inherited from  Inherited from   | 
  |||
    
  | 
|||
| 
     Inherited from   | 
  |||
    
  | 
|||
| 
     Inherited from   | 
  |||
    
  | 
|||
| 
     Inherited from  Inherited from   | 
  |||
    
  | 
|||
  
 Intialize a CacheEntry object. The arguments can take two forms: a single string argument, which is interpreted and parsed as a line from a LAL cache file, or four arguments used to explicitly initialize the observatory, description, segment and URL in that order. When parsing a single line of text from a LAL cache, an optional key-word argument "coltype" can be provided to set the type the start and durations are parsed as. The default is lal.LIGOTimeGPS. Example: >>> c = CacheEntry("H1", "S5", segments.segment(815901601, 815902177.5), "file://localhost/home/kipp/tmp/1/H1-815901601-576.xml") >>> print(c.segment) [815901601 ... 815902177.5) >>> print(str(c)) H1 S5 815901601 576.5 file://localhost/home/kipp/tmp/1/H1-815901601-576.xml >>> c = CacheEntry("H1 S5 815901601 576.5 file://localhost/home/kipp/tmp/1/H1-815901601-576.xml") >>> print(c.segment) [815901601 ... 815902177.5) >>> print(CacheEntry("H1 S5 815901601 576.5 file://localhost/home/kipp/tmp/1/H1-815901601-576.xml", coltype = float).segment) [815901601.0 ... 815902177.5) See also the .from_T050017() class method for an alternative initialization mechanism. 
  | 
| Home | Trees | Indices | Help | 
        
  | 
  
|---|
| Generated by Epydoc 3.0.1 on Tue Dec 12 00:34:18 2017 | http://epydoc.sourceforge.net |