Subclass of the packing.Bin class representing a LAL file cache.
The files contained in the bin are available in the .objects attribute, which is a list of lal.utils.CacheEntry objects. The .size attribute holds a igwn_segments.segmentlistdict object giving the times spanned by the files in the bin. The .extent attribute holds the result of running .extent_all() on the .size attribute.
Inherits lalburst.packing.Bin.
Public Member Functions | |
| def | __init__ (self) |
| Initialize a new Bin instance. More... | |
| def | add (self, cache_entry) |
| Add the object, whose size is as given, to the bin. More... | |
| def | __iadd__ (self, *args) |
| Add the contents of another Bin object to this one. More... | |
| def | __lt__ (self, other) |
| def | __le__ (self, other) |
| def | __eq__ (self, other) |
| def | __ne__ (self, other) |
| def | __ge__ (self, other) |
| def | __gt__ (self, other) |
| def | __str__ (self) |
Public Member Functions inherited from lalburst.packing.Bin | |
| def | __init__ (self) |
| Initialize a new Bin instance. More... | |
| def | add (self, obj, size) |
| Add the object, whose size is as given, to the bin. More... | |
| def | __iadd__ (self, other) |
| Add the contents of another Bin object to this one. More... | |
| def | __lt__ (self, other) |
| def | __le__ (self, other) |
| def | __eq__ (self, other) |
| def | __ne__ (self, other) |
| def | __ge__ (self, other) |
| def | __gt__ (self, other) |
| def | __repr__ (self) |
| A representation of the Bin object. More... | |
Data Fields | |
| size | |
| extent | |
Data Fields inherited from lalburst.packing.Bin | |
| objects | |
| size | |
| def lalburst.cafe.LALCacheBin.__init__ | ( | self | ) |
Initialize a new Bin instance.
Reimplemented from lalburst.packing.Bin.
| def lalburst.cafe.LALCacheBin.add | ( | self, | |
| obj | |||
| ) |
Add the object, whose size is as given, to the bin.
Reimplemented from lalburst.packing.Bin.
| def lalburst.cafe.LALCacheBin.__iadd__ | ( | self, | |
| * | other | ||
| ) |
Add the contents of another Bin object to this one.
Reimplemented from lalburst.packing.Bin.
| def lalburst.cafe.LALCacheBin.__lt__ | ( | self, | |
| other | |||
| ) |
Reimplemented from lalburst.packing.Bin.
| def lalburst.cafe.LALCacheBin.__le__ | ( | self, | |
| other | |||
| ) |
Reimplemented from lalburst.packing.Bin.
| def lalburst.cafe.LALCacheBin.__eq__ | ( | self, | |
| other | |||
| ) |
Reimplemented from lalburst.packing.Bin.
| def lalburst.cafe.LALCacheBin.__ne__ | ( | self, | |
| other | |||
| ) |
Reimplemented from lalburst.packing.Bin.
| def lalburst.cafe.LALCacheBin.__ge__ | ( | self, | |
| other | |||
| ) |
Reimplemented from lalburst.packing.Bin.
| def lalburst.cafe.LALCacheBin.__gt__ | ( | self, | |
| other | |||
| ) |
Reimplemented from lalburst.packing.Bin.
| def lalburst.cafe.LALCacheBin.__str__ | ( | self | ) |
Reimplemented from lalburst.packing.Bin.