bilby.gw.geometry.time_delay_geocentric

bilby.gw.geometry.time_delay_geocentric(detector1, detector2, ra, dec, time)

Calculate time delay between two detectors for a source direction.

Parameters:
detector1: array-like

3D position vector of the first detector in meters.

detector2: array-like

3D position vector of the second detector in meters.

ra: float or array-like

Right ascension of the source in radians.

dec: float or array-like

Declination of the source in radians.

time: float or array-like

GPS time of the observation.

Returns:
float or array-like

Time delay \(\Delta t = \hat{\omega} \cdot (\vec{d}_2 - \vec{d}_1) / c\) in seconds, where \(\hat{\omega}\) is the unit vector to the source and \(c\) is the speed of light.

bilby.gw.geometry.time_delay_geocentric(detector1: numpy.ndarray | list | tuple, detector2: numpy.ndarray | list | tuple, ra, dec, time)