bilby.gw.geometry.detector_tensor

bilby.gw.geometry.detector_tensor(x, y)

Calculate the detector tensor from x and y arm components.

Parameters:
x: array-like

3D unit vector for the x arm.

y: array-like

3D unit vector for the y arm.

Returns:
array-like

3x3 detector tensor with components \(d_{ij} = (x_i x_j - y_i y_j) / 2\).

bilby.gw.geometry.detector_tensor(x: numpy.ndarray | list | tuple, y: numpy.ndarray | list | tuple)