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

Class SimBurst

source code

         object --+    
                  |    
table.Table.RowType --+
                      |
                     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
>>> print(x.time_geocent_gmst)
-2238.39417156
Instance Methods [hide private]
 
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
 
get_ra_dec(self) source code
 
get_time_geocent(self) source code
 
set_time_geocent(self, gps) 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

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]
  time_geocent = <glue.ligolw.lsctables.gpsproperty_with_gmst ob...
Properties [hide private]
  amplitude
  bandwidth
  dec
  duration
  egw_over_rsquared
  frequency
  hrss
  pol_ellipse_angle
  pol_ellipse_e
  process_id
  psi
  q
  ra
  ra_dec
  simulation_id
  time_geocent_gmst
  time_geocent_gps
  time_geocent_gps_ns
  time_slide_id
  waveform
  waveform_number

Inherited from object: __class__

Method Details [hide private]

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.

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.


Class Variable Details [hide private]

time_geocent

Value:
<glue.ligolw.lsctables.gpsproperty_with_gmst object at 0x7f390418f390>

Property Details [hide private]

ra_dec

Get Method:
unreachable.ra_dec(self)
Set Method:
unreachable.ra_dec(self, radec)