RuntimeWarning: invalid value encountered in arccos
When generating the precession SNR for certain configurations, there is sometimes a RuntimeWarning
printed:
.../pesummary/gw/conversions/angles.py:62: RuntimeWarning: invalid value encountered in arccos
dphi = -1. * sign * np.arccos(cos_d)
This is likely because cos_d
takes value e.g. 1.00000000004
.