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

Class GDSTrigger

source code

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

Helpful parent class for row objects. Also used as the default row class by Table instances. Provides an __init__() method that accepts keyword arguments from which the object's attributes are initialized.

Example:

>>> x = Table.RowType(a = 0.0, b = "test", c = True)
>>> x.a
0.0
>>> x.b
'test'
>>> x.c
True

Also provides .__getstate__() and .__setstate__() methods to allow row objects to be pickled (otherwise, because they all use __slots__ to reduce their memory footprint, they aren't pickleable).

Instance Methods [hide private]
 
get_band(self) source code
 
get_peak(self) source code
 
get_period(self) source code
 
get_start(self) source code
 
get_stop(self) source code
 
set_band(self, band) source code
 
set_peak(self, gps) source code
 
set_period(self, period) source code
 
set_start(self, gps) 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__

Properties [hide private]
  bandwidth
  binarydata
  binarydata_length
  confidence
  creator_db
  disposition
  duration
  event_id
  filter_id
  freq_average
  freq_peak
  freq_sigma
  frequency
  ifo
  name
  noise_power
  pixel_count
  priority
  process_id
  signal_power
  significance
  size
  start_time
  start_time_ns
  subtype
  time_average
  time_peak
  time_sigma

Inherited from object: __class__