Note
This tutorial was generated from a Jupyter notebook that can be downloaded here. If you’d like to reproduce the results in the notebook, or make changes to the code, we recommend downloading this notebook and running it with Jupyter as certain cells (mostly those that change plot styles) are excluded from the tutorials.
Derivations and Equation Reference
This guide explains the origin and derivation of the equations used in LEGWORK
functions. This follows closely Section 3 of the LEGWORK paper but with some extra steps shown!
At the end of this document (here) is a table that relates each of the functions in LEGWORK
to an equation in this document.
Conversions and Definitions (utils
)
This section contains a miscellaneous collection of conversions and definitions that are useful in the later derivations. First, the chirp mass of a binary is defined as
where \(m_1\) and \(m_2\) are the primary and secondary mass of the binary. This term often shows up in many equations and hence is easier to measure in gravitational wave data analysis than the individual component masses.
Kepler’s third law allows one to convert between orbital frequency, \(f_{\rm orb}\), and the semi-major axis, \(a\), of a binary. For convenience we show it here
As we deal with eccentric binaries, the different harmonic frequencies of gravitational wave emission become important. We can write that the relative power radiated into the \(n^{\rm th}\) harmonic for a binary with eccentricity \(e\) is [PetersMathews63] (Eq. 20)
where \(J_{n}(v)\) is the Bessel function of the first kind. Thus, the sum of \(g(n, e)\) over all harmonics gives the factor by which the gravitational wave emission is stronger for a binary of eccentricity \(e\) over an otherwise identical circular binary. This enhancement factor is defined by Peters as [PetersMathews63] (Eq. 17)
Note that \(F(0) = 1\) as one would expect. A useful number to remember is that \(F(0.5) \approx 5.0\), or in words, a binary with eccentricity \(0.5\) loses energy to gravitational waves at a rate about \(5\) times higher than a similar circular binary.
Binary Evolution (evol
)
Circular binaries
For a circular binary, the evolution can be calculated analytically as the rate at which the binary shrinks can be readily integrated [Peters64] (Eq. 5.6)
where \(\beta\) is
Integratig this gives the semi-major axis of a circular binary as a function of time as [Peters64] (Eq. 5.9)
where \(a_0\) is the initial semi-major axis. Moreover, we can set the final semi-major axis in Eq. \eqref{eq:a_over_time_circ} equal to zero and solve for the inspiral time ([Peters64] Eq. 5.10)
Eccentric binaries
Eccentric binaries are more complicated because the semi-major axis and eccentricity both evolve simultaneously and depend on one another. These equations cannot be solved analytically and require numerical integration. Firstly, we can relate \(a\) and \(e\) with [Peters64] (Eq. 5.11)
where \(c_0\) is
where \(a_0\) and \(e_0\) are the initial semi-major axis and eccentricity respectively.
where \(c_0\) is defined in Eq. \eqref{eq:c0_peters} – such that the initial conditions are satisfied. Then we can numerically integrate [Peters64] (Eq. 5.13)
to find \(e(t)\) and use this in conjunction with Eq. \eqref{eq:a_from_e} to solve for \(a(t)\), which can in turn be converted to \(f_{\rm orb}(t)\).
Furthermore, we can invert this to find the inspiral time by using that \(e \to 0\) when the binary merges which gives [Peters64] (Eq. 5.14)
For very small or very large eccentricities we can approximate this integral using the following expressions (given in unlabelled equations after [Peters64] Eq. 5.14)
The standard threshold employed by LEGWORK for small eccentricities is e = 0.15 and for large eccentricities is e = 0.9999 (as this approximates \(t_{\rm merge}\) with an error below roughly 2%), though we note that this can be customised by the user if desired.
In addition, we implement the fit to Eq. 13 from Mandel (2021) that approximates the merger time as
which gives \(t_{\rm merge}\) with an error below 3% for eccentricities below 0.9999. We additionally add a rudimentary polynomial fit to further reduce this error to below 0.5%. The user may specify whether to use this fit or perform the full integral when calculating merger times in LEGWORK.
Gravitational Wave Strains (strain
)
Characteristic Strain
The strength of a gravitational wave in a detector at any one moment is determined by the strain amplitude, \(h_0\). However, for stellar-origin sources at mHz frequencies, the signal can be present in the detector for many years. This means that, the \(n^{\rm th}\) harmonic of the binary will spend approximately \(f_n / \dot{f}_n\) seconds (or \(f_n^2 / \dot{f}_n\) cycles) in the vicinity of a frequency \(f_n\) [FinnThorne00]. This leads to the signal ‘accumulating’ at the frequency \(f_n\).
Therefore, to account for the integration of the signal over the mission, we instead use the ‘characteristic’ strain amplitude of the \(n^{\rm th}\) harmonic, \(h_{c, n}\), which is the term present in the general signal-to-noise ratio equation. This can be related the to the strain amplitude in the \(n^{\rm th}\) harmonic, \(h_{0, n}\), as (e.g. [FinnThorne00] [MooreColeBerry15])
Note
Note that this is factor of 2 different from [FinnThorne00]. This is because the factor of 2 is already included in the [RobsonCornishLiu19] sensitivity curve and so we remove it here.
The characteristic strain represents the strain measured by the detector over the duration of the mission (approximated as a single broad-band burst), whilst the strain amplitude is the strength of the GW emission at each instantaneous moment. For a stellar mass binary, the characteristic strain in the \(n^{\rm th}\) harmonic is given by (e.g. [BarackCutler04] Eq. 56; [FlanaganHughes98] Eq. 5.1)
where \(D_L\) is the luminosity distance to the binary, \(\dot{E}_n\) is the power radiated in the \(n^{\rm th}\) harmonic and \(\dot{f}_n\) is the rate of change of the \(n^{\rm th}\) harmonic frequency. The power radiated in the \(n^{\rm th}\) harmonic is given by [PetersMathews63] (Eq. 19)
where \(m_1\) is the primary mass, \(m_2\) is the secondary mass, \(a\) is the semi-major axis of the binary and \(e\) is the eccentricity. Using Eq. \eqref{eq:chirpmass} and Eq. \eqref{eq:kepler3rd}, we can recast Eq. \eqref{eq:edot_peters} in a form more applicable for gravitational wave detections that is a function of only the chirp mass, orbital frequency and eccentricity.
The last term needed to define the characteristic strain in Eq. \eqref{eq:char_strain_dedf} is the rate of change of the \(n^{\rm th}\) harmonic frequency. We can first apply the chain rule and note that
The frequency of the \(n^{\rm th}\) harmonic is simply defined as \(f_n = n \cdot f_{\rm orb}\) and therefore we can find an expression for \(\mathrm{d} {f_{n}} / \mathrm{d} {a}\) by rearranging and differentiating Eq. \eqref{eq:kepler3rd}
The rate at which the semi-major axis decreases is [Peters64] (Eq. 5.6)
Substituting Eq. \eqref{eq:dfda} and Eq. \eqref{eq:dadt} into Eq. \eqref{eq:fdot_chainrule} gives an expression for \(\dot{f}_{n}\)
which, as above with \(\dot{E}_n\), we can recast using Kepler’s third law and the definition of the chirp mass
With definitions of both \(\dot{E}_n\) and \(\dot{f}_n\), we are now in a position to find an expression for the characteristic strain by plugging Eq. \eqref{eq:edot} and Eq. \eqref{eq:fdot} into Eq. \eqref{eq:char_strain}:
This gives a final simplified expression for the characteristic strain amplitude of a GW source.
Using the conversion between characteristic strain and regular strain, in addition to Eq. \eqref{eq:fdot} and Eq. \eqref{eq:char_strain}, we can write an expression for the strain amplitude of gravitational waves in the \(n^{\rm th}\) harmonic
This gives a final simplified expression for the strain amplitude of a GW source.
Amplitude modulation for orbit averaged sources
Because the LISA detectors are not stationary and instead follow an Earth-trailing orbit, the antenna pattern of LISA is not isotropically distributed or stationary. For sources that have a known position, inclination, and polarisation, we can consider the amplitude modulation of the strain due to the average motion of LISA’s orbit. We follow the results of [CornishLarson03] to define the amplitude modulation. However, we follow the conventions of more recent papers (e.g. [BabakHewitsonPetiteau21], Eq.67) to write the amplitude modulation as
where \(\left\langle F_{+}^{2}\right\rangle\) and \(\left\langle F_{\times}^{2}\right\rangle\), the orbit-averaged detector responses, are defined as
and
In the equations above, the inclination is given by \(\iota\), the right ascension and declination are given by \(\phi\) and \(\theta\) respsectively, and the polarisation is given by \(\psi\).
The orbital motion of LISA smears the source frequency by roughly \(10^{-4}\,\rm{mHz}\) due to the antenna pattern changing as the detector orbits, the Doppler shift from the motion, and the phase modulation from the \(+\) and \(\times\) polarisations in the antenna pattern. Generally, the modulation reduces the strain amplitude because the smearing in frequency reduces the amount of signal build up at the true source frequency.
We note that since the orbit averaging is carried out in Fourier space, this requires the frequency to be monochromatic and thus is only implemented in LEGWORK
for quasi-circular binaries. We also note that since the majority of the calculations in LEGWORK
are carried out for the full position, polarisation, and inclination averages, we place a pre-factor of \(5/4\) on the amplitude modulation in the software implementation to undo the factor of \(4/5\) which arises from the
averaging of Equations \eqref{eq:response_fplus} and \eqref{eq:response_fcross}.
Sensitivity Curves (psd
)
LISA
For the LISA sensitivity curve, we follow the equations from [RobsonCornishLiu19], which we list here for your convenience.
The effective LISA noise power spectral density is defined as ([RobsonCornishLiu19] Eq. 2)
where \(P_{\rm n}(f)\) is the power spectral density of the detector noise and \(\mathcal{R}(f)\) is the sky and polarisation averaged signal response function of the instrument. Alternatively if we expand out \(P_n(f)\), approximate \(\mathcal{R}(f)\) and simplify we find ([RobsonCornishLiu19] Eq. 1)
where \(L = 2.5\,\mathrm{Gm}\) is detector arm length, \(f^* = 19.09 \, \mathrm{mHz}\) is the response frequency,
is the single-link optical metrology noise ([RobsonCornishLiu19] Eq. 10),
is the single test mass acceleration noise ([RobsonCornishLiu19] Eq. 11) and
is the galactic confusion noise ([RobsonCornishLiu19] Eq. 14), where the amplitude \(A\) is fixed as \(9 \times 10^{-45}\) and the various parameters change over time:
parameter |
6 months |
1 year |
2 years |
4 years |
---|---|---|---|---|
\(\alpha\) |
0.133 |
0.171 |
0.165 |
0.138 |
\(\beta\) |
243 |
292 |
299 |
-221 |
\(\kappa\) |
482 |
1020 |
611 |
521 |
\(\gamma\) |
917 |
1680 |
1340 |
1680 |
\(f_{k}\) |
0.00258 |
0.00215 |
0.00173 |
0.00113 |
TianQin
We additionally allow other instruments than LISA. We have the TianQin sensitivity curve built in where we use the power spectral density given in [HuangHuKorol+20] Eq. 13.
where \(L = \sqrt{3} \times 10^5\) km} is the arm length, \(S_a = 1 \times 10^{-30}\) m\(^2\) s\(^{-4}\) Hz\(^{-1}\) is the acceleration noise, \(S_x = 1 \times 10^{-24}\) m\(^2\) Hz\(^{-1}\) is the displacement measurement noise and \(f_* = c / 2 \pi L\) is the transfer frequency. Note that Eq. \ref{eq:tianqin} includes an extra factor of \(10 / 3\) compared to Eq.13 of [HuangHuKorol+20]. [HuangHuKorol+20] absorb this factor into the waveform rather than include it in the power spectral density. We include it to match the convention used by [RobsonCornishLiu19] for the LISA sensitivity curve (see the factor of \(10/3\) in Eq. \ref{eq:LISA_Sn}) so that the sensitivity curves can be compared fairly.
Signal-to-Noise Ratios for a 6-link (3-arm) LISA (snr
)
Please note that this section draws heavily from [FlanaganHughes98] Section II C. We go through the same derivations here in more detail than in a paper and hopefully help clarify all of the different stages.
Defining the general SNR
In order to calculate the signal to noise ratio for a given source of gravitational waves (GWs) in the LISA detector, we need to consider the following parameters:
position of the source on the sky: (\(\theta\), \(\phi\))
direction from the source to the detector: (\(\iota\), \(\beta\))
orientation of the source, which fixes the polarisation of the GW: \(\psi\)
the distance from the source to the detector: \(D_L\)
Then, assuming a matched filter analysis of the GW signal \(s(t) + n(t)\) (where \(s(t)\) is the signal and \(n(t)\) is the noise), which relies on knowing the shape of the signal, the signal to noise ratio, \(\rho\), is given in the frequency domain as
where \(\tilde{s}(f)\) is the Fourier transform of the signal, \(s(t)\), and \(P_{\rm n}(f)\) is the one sided power spectral density of the noise defined as as \(\langle n(t)^{\star}n(t)\rangle = \int_0^{\infty} \frac{1}{2}P_{\rm n}(f) df\) (c.f. [RobsonCornishLiu19] Eq. 2). Here, \(\tilde{s}(f)\) is implicitly also dependent on \(D_L, \theta, \phi, \psi, \iota,\) and \(\beta\) as
where \(F_{+,\times}\) are the ‘plus’ and ‘cross’ antenna patterns of the LISA detector to the ‘plus’ and ‘cross’ strains, \(h_{+,\times}\). Note throughout any parameters discussed with the subscript \(x_{+,\times}\) refers to both \(x_{+}\) and \(x_{\times}\).
In LISA’s case, when averaged over all angles and polarisations, the antenna patterns are orthogonal thus \(\langle F_+ F_{\times}\rangle = 0\). This means we can rewrite Eq. \ref{eq:signal} as
which can then be applied to Eq. \eqref{eq:snr_general_start} as
Average over position and polarisation
Now, we can consider averaging over different quantities. In particular, we can average over the sky position and polarisation as
From [RobsonCornishLiu19], we can write the position and polarisation average of the signal response function of the instrument, \(\mathcal{R}\), as
Then combining Eq. \eqref{eq:position_orientation_ave} and Eq. \eqref{eq:response}, we then find
Note that this is written in [FlanaganHughes98] for the LIGO response function which is \(\mathcal{R} = \langle F_{+,\times} \rangle ^2 = 1/5\).
Average over orientation
Now, we can average over the orientation of the source: \((\iota, \beta)\), noting that the averaging is independent of the distance \(D_L\). Then we can rewrite \(|\tilde{h}_+|^2 + |\tilde{h}_{\times}|^2\) in terms of two functions \(|\tilde{H}_+|^2\) and \(|\tilde{H}_{\times}|^2\), where \(\tilde{h}_{+,\times} = \tilde{H}_{+,\times}/D_L\). Then, averaging over the source direction gives
where we would like to express \(\tilde{H}_{+,\times}(f)^2\) in terms of the energy spectrum of the GW. To do this, we note that the local energy flux of GWs at the detector is given by (e.g. [PressThorne72] Eq. 6)
where the bar indicates an average over several cycles of the wave which is appropriate for LISA sources. We can transform Eq. \eqref{eq:energy_flx} using Parseval’s theorem, where we can write
Note that we perform a Fourier transform of the square of the time derivatives in the second line. Now, since \(A = D_L^2 \Omega\) and \(|\tilde{h}_{+,\times}|^2 = |\tilde{H}_{+,\times}|^2 / D_L^2\), we know
then we can write Eq. \eqref{eq:Parseval} in terms of \(|H_{+,\times}|^2\) as
We can note that by using Eq. \eqref{eq:little_h_to_big} and performing a Fourier transform we also have that
From inspection of Eq. \eqref{eq:Parseval_2} and Eq. \eqref{eq:deriv_relation}, we can write the spectral energy flux as
Fully averaged SNR equation
We are now in a position to write an expression for the fully averaged SNR. Let’s take Eq. \eqref{eq:se_flux} and apply it to Eq. \eqref{eq:averaged_all}
This simplifies nicely to
Finally, noting that \(dE/df = dE/dt \times dt/df = \dot{E}/\dot{f}\), we can use the definition of the characteristic strain from Eq. \eqref{eq:char_strain_dedf} to finish up our position, direction, and orientation/polarisation averaged SNR as
where we have used that the effective power spectral density of the noise is defined as \(S_{\rm n}(f) = P_{\rm n}(f) / \mathcal{R}(f)\). Note that this defintion is the sensitivity for a 6-link (3-arm) LISA detector in the long wavelength limit, which is appropriate for stellar mass binary LISA sources.
It is also important to note that this is only the SNR for a circular binary for which we need only consider the \(n = 2\) harmonic. In the general case, a binary could be eccentric and requires a sum over all harmonics. Thus we can generalise Eq. \eqref{eq:snr_finished_circ} to eccentric binaries with
where \(f_n = n \cdot f_{\rm orb}\) (with \(n\) being the harmonic and \(f_{\rm orb}\) the orbital frequency), \(h_{c, n}\) is defined in Eq. \eqref{eq:char_strain} and \(S_{\rm n}\) in Eq. \eqref{eq:LISA_Sn}.
Different SNR approximations
Although Eq. \eqref{eq:snr_general} can be used for every binary, it can be useful to consider different cases in which we can avoid unnecessary sums and integrals. There are four possible cases for binaries in which we can use increasingly simple expressions for the signal-to-noise ratio. Binaries can be circular and stationary in frequency space.
Circular binaries emit only in the \(n=2\) harmonic and so the sum over harmonics can be removed
Stationary binaries have \(f_{n, i} \approx f_{n, f}\) and so the small interval allows one to approximate the integral
We refer to non-stationary binaries as ‘evolving’ here though many also use ‘chirping’.
For an evolving and eccentric binary, no approximation can be made and the SNR is found using Eq. \eqref{eq:snr_general}.
For an evolving and circular binary, the sum can be removed and so the SNR found as
For a stationary and eccentric binary we can approximate the integral.
where we have applied Eq. \eqref{eq:strain-charstrain} to convert between strains and labelled \(\Delta t = T_{\rm obs}\). Finally, for a stationary and circular binary the signal-to-noise ratio is simply
That’s all for the derivations of the equations! If you are confused by something or think there is a mistake please feel free to open an issue on GitHub.
Continue reading for the function table and references!
Equation to Function Table
The following table gives a list of the functions in the modules and which equation numbers in this document that they come from.
Quantity |
Equation |
Function |
---|---|---|
\(\mathcal{M}_c\) |
\ref{eq:chirpmass} |
|
\(a\) |
\ref{eq:kepler3rd} |
|
\(f_{\rm orb}\) |
\ref{eq:kepler3rd} |
|
\(g(n, e)\) |
\ref{eq:g(n,e)} |
|
\(F(e)\) |
\ref{eq:eccentricity_enhancement_factor} |
|
\(\beta\) |
\ref{eq:beta_peters} |
|
\(a_{\rm circ}(t), f_{\rm orb, circ}(t)\) |
\ref{eq:a_over_time_circ} |
|
\(t_{\rm merge, circ}\) |
\ref{eq:t_merge_circular} |
|
\(e(t), a(t), f_{\rm orb}(t)\) |
\ref{eq:dedt} |
|
\(t_{\rm merge}\) |
\ref{eq:t_merge_eccentric} |
|
\(h_{c,n}\) |
\ref{eq:char_strain} |
|
\(h_n\) |
\ref{eq:strain} |
|
\(S_{\rm n}(f)\) |
\ref{eq:LISA_Sn} |
|
\(\rho\) |
\ref{eq:snr_general} |
|
\(\rho_{\rm e, e}\) |
\ref{eq:snr_general} |
|
\(\rho_{\rm c, e}\) |
\ref{eq:snr_chirp_circ} |
|
\(\rho_{\rm e, s}\) |
\ref{eq:snr_stat_ecc} |
|
\(\rho_{\rm c, s}\) |
\ref{eq:snr_stat_circ} |
References
Stanislav Babak, Martin Hewitson, and Antoine Petiteau. LISA Sensitivity and SNR Calculations. arXiv e-prints, pages arXiv:2108.01167, August 2021. arXiv:2108.01167.
Leor Barack and Curt Cutler. LISA capture sources: Approximate waveforms, signal-to-noise ratios, and parameter estimation accuracy. Physical Review D, 69(8):082005, April 2004. arXiv:gr-qc/0310125, doi:10.1103/PhysRevD.69.082005.
Neil J. Cornish and Shane L. Larson. LISA data analysis: Source identification and subtraction. \prd , 67(10):103001, May 2003. arXiv:astro-ph/0301548, doi:10.1103/PhysRevD.67.103001.
Lee Samuel Finn and Kip S. Thorne. Gravitational waves from a compact star in a circular, inspiral orbit, in the equatorial plane of a massive, spinning black hole, as observed by LISA. Physical Review D, 62(12):124021, December 2000. arXiv:gr-qc/0007074, doi:10.1103/PhysRevD.62.124021.
Éanna É. Flanagan and Scott A. Hughes. Measuring gravitational waves from binary black hole coalescences. I. Signal to noise for inspiral, merger, and ringdown. Physical Review D, 57(8):4535–4565, April 1998. arXiv:gr-qc/9701039, doi:10.1103/PhysRevD.57.4535.
Shun-Jia Huang, Yi-Ming Hu, Valeriya Korol, Peng-Cheng Li, Zheng-Cheng Liang, Yang Lu, Hai-Tian Wang, Shenghua Yu, and Jianwei Mei. Science with the TianQin Observatory: Preliminary results on Galactic double white dwarf binaries. \prd , 102(6):063021, September 2020. arXiv:2005.07889, doi:10.1103/PhysRevD.102.063021.
C. J. Moore, R. H. Cole, and C. P. L. Berry. Gravitational-wave sensitivity curves. Classical and Quantum Gravity, 32(1):015014, January 2015. arXiv:1408.0740, doi:10.1088/0264-9381/32/1/015014.
P. C. Peters. Gravitational Radiation and the Motion of Two Point Masses. Physical Review, 136(4B):1224–1232, November 1964. doi:10.1103/PhysRev.136.B1224.
P. C. Peters and J. Mathews. Gravitational Radiation from Point Masses in a Keplerian Orbit. Physical Review, 131(1):435–440, July 1963. doi:10.1103/PhysRev.131.435.
William H. Press and Kip S. Thorne. Gravitational-Wave Astronomy. \araa , 10:335, January 1972. doi:10.1146/annurev.aa.10.090172.002003.
Travis Robson, Neil J. Cornish, and Chang Liu. The construction and use of LISA sensitivity curves. Classical and Quantum Gravity, 36(10):105011, May 2019. arXiv:1803.01944, doi:10.1088/1361-6382/ab1101.