bilby.gw.geometry.antenna_response
- bilby.gw.geometry.antenna_response(detector_tensor, ra, dec, time, psi, mode)
Calculate the antenna response for a detector.
- Parameters:
- detector_tensor: array-like
The detector tensor (3x3 matrix).
- 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.
- psi: float or array-like
Polarization angle in radians.
- mode: str
Polarization mode (‘plus’, ‘cross’, ‘breathing’, ‘longitudinal’, ‘x’, ‘y’).
- Returns:
- array-like
The antenna response (scalar or array depending on input).