Horizon utilities¶
The hor_utils
module contains functions that are useful in working
with horizons and their orbits
Separation and separation vector¶
In simulations of binary black holes, it is often convenient to look at the
separation between the two horizons. This is can be easily achieved with the
functions compute_separation_vector()
and
compute_separation()
. These functions take two horizons as input and
return a Vector
and a TimeSeries
respectively. The
vector is the separation along the three Cartesian coordinates, while the
timeseries is the magnitude of the separation. Note that the vector has sign:
the separation is always computed as hor1 - hor2
.
Newtonian center of mass¶
A second useful quantity is the center of mass. Computing the center of mass in a gauge-invariant way is not easy (the best way is looking at the linear momentum carried away by gravitational waves). However, we can easily compute the Newtonian center of mass:
Note that in this formula, we use the irreducible mass and this might not be the
most appropriate choice in presence of spin. This is implemented in
compute_center_of_mass()
.
Newtonian angular velocity¶
In the same spirit, we can compute the Newtonian angular velocity vector as
For orbits on the equatorial plane, the z component is the usual angular
velocity. This is implemented in compute_angular_velocity_vector()
.