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

Class SimBurst

source code

    object --+        
             |        
table.TableRow --+    
                 |    
          TableRow --+
                     |
                    SimBurst

Example:

>>> x = SimBurst()
>>> x.ra_dec = 0., 0.
>>> x.ra_dec
(0.0, 0.0)
>>> x.ra_dec = None
>>> print x.ra_dec
None
>>> x.time_geocent = None
>>> print x.time_geocent
None
>>> print x.time_geocent_gmst
None
>>> x.time_geocent = LIGOTimeGPS(6e8)
>>> print x.time_geocent
600000000.000000000
Instance Methods [hide private]
 
time_geocent(self, gps) source code
 
ra_dec(self, radec) source code
 
time_at_instrument(self, instrument, offsetvector)
Return the "time" of the injection, delay corrected for the displacement from the geocentre to the given instrument.
source code
 
get_time_geocent(self) source code
 
set_time_geocent(self, gps) source code
 
get_ra_dec(self) source code
 
get_end(self, site=None)
Do not use this method: use .time_at_instrument() if that's what you want, or use .time_geocent if that's what you want.
source code

Inherited from TableRow: __getstate__, __setstate__

Inherited from table.TableRow: __init__

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

time_geocent(self, gps)

source code 
Decorators:
  • @time_geocent.setter

ra_dec(self, radec)

source code 
Decorators:
  • @ra_dec.setter

time_at_instrument(self, instrument, offsetvector)

source code 

Return the "time" of the injection, delay corrected for the displacement from the geocentre to the given instrument.

NOTE: this method does not account for the rotation of the Earth that occurs during the transit of the plane wave from the detector to the geocentre. That is, it is assumed the Earth is in the same orientation with respect to the celestial sphere when the wave passes through the detector as when it passes through the geocentre. The Earth rotates by about 1.5 urad during the 21 ms it takes light to travel the radius of the Earth, which corresponds to 10 m of displacement at the equator, or 33 light-ns. Therefore, the failure to do a proper retarded time calculation here results in errors as large as 33 ns. This is insignificant for burst searches, but be aware that this approximation is being made if the return value is used in other contexts.

get_end(self, site=None)

source code 

Do not use this method: use .time_at_instrument() if that's what you want, or use .time_geocent if that's what you want.

Also ... this doesn't return the *end time*, it returns the *PEAK TIME*. You've been warned.