Package glue :: Package ligolw :: Module lsctables :: Class SegmentDef
[hide private]
[frames] | no frames]

Class SegmentDef

source code

         object --+    
                  |    
table.Table.RowType --+
                      |
                     SegmentDef

Example:

>>> x = SegmentDef()
>>> x.instruments = (u"H1", u"L1")
>>> x.ifos
u'H1,L1'
>>> x.instruments
set([u'H1', u'L1'])
Instance Methods [hide private]
 
get_ifos(self)
Return a set of the instruments for this row.
source code
 
set_ifos(self, instruments)
Serialize a sequence of instruments into the ifos attribute.
source code

Inherited from table.Table.RowType: __getstate__, __init__, __setstate__

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

Class Variables [hide private]
  instruments = <glue.ligolw.lsctables.instrumentsproperty objec...
Properties [hide private]
  comment
  creator_db
  ifos
  insertion_time
  name
  process_id
  segment_def_id
  version

Inherited from object: __class__

Method Details [hide private]

set_ifos(self, instruments)

source code 

Serialize a sequence of instruments into the ifos attribute. The instrument names must not contain the "," character.


Class Variable Details [hide private]

instruments

Value:
<glue.ligolw.lsctables.instrumentsproperty object at 0x7f390418fc90>