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

Class SearchSummary

source code

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

Example:

>>> x = SearchSummary()
>>> x.instruments = (u"H1", u"L1")
>>> x.ifos
u'H1,L1'
>>> x.instruments
set([u'H1', u'L1'])
>>> x.in_start = x.out_start = LIGOTimeGPS(0)
>>> x.in_end = x.out_end = LIGOTimeGPS(10)
>>> x.in_segment
segment(LIGOTimeGPS(0, 0), LIGOTimeGPS(10, 0))
>>> x.out_segment
segment(LIGOTimeGPS(0, 0), LIGOTimeGPS(10, 0))
>>> x.in_segment = x.out_segment = None
>>> print(x.in_segment)
None
>>> print(x.out_segment)
None
Instance Methods [hide private]
 
get_ifos(self)
Return a set of the instruments for this row.
source code
 
get_in(self)
Get the input segment.
source code
 
get_out(self)
Get the output segment.
source code
 
set_ifos(self, instruments)
Serialize a sequence of instruments into the ifos attribute.
source code
 
set_in(self, seg)
Set the input segment.
source code
 
set_out(self, seg)
Set the output segment.
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]
  in_end = <glue.ligolw.lsctables.gpsproperty object at 0x7f3904...
  in_segment = <glue.ligolw.lsctables.segmentproperty object at ...
  in_start = <glue.ligolw.lsctables.gpsproperty object at 0x7f39...
  instruments = <glue.ligolw.lsctables.instrumentsproperty objec...
  out_end = <glue.ligolw.lsctables.gpsproperty object at 0x7f390...
  out_segment = <glue.ligolw.lsctables.segmentproperty object at...
  out_start = <glue.ligolw.lsctables.gpsproperty object at 0x7f3...
Properties [hide private]
  comment
  ifos
  in_end_time
  in_end_time_ns
  in_start_time
  in_start_time_ns
  lal_cvs_tag
  lalwrapper_cvs_tag
  nevents
  nnodes
  out_end_time
  out_end_time_ns
  out_start_time
  out_start_time_ns
  process_id
  shared_object

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]

in_end

Value:
<glue.ligolw.lsctables.gpsproperty object at 0x7f3904167d10>

in_segment

Value:
<glue.ligolw.lsctables.segmentproperty object at 0x7f3904167dd0>

in_start

Value:
<glue.ligolw.lsctables.gpsproperty object at 0x7f3904167cd0>

instruments

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

out_end

Value:
<glue.ligolw.lsctables.gpsproperty object at 0x7f3904167d90>

out_segment

Value:
<glue.ligolw.lsctables.segmentproperty object at 0x7f3904167e10>

out_start

Value:
<glue.ligolw.lsctables.gpsproperty object at 0x7f3904167d50>