Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions bilby/gw/detector/interferometer.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,16 +639,15 @@ def matched_filter_snr(self, signal):
def whiten_frequency_series(self, frequency_series : np.array) -> np.array:
"""Whitens a frequency series with the noise properties of the detector

.. math::
\\tilde{a}_w(f) = \\tilde{a}(f) \\sqrt{\\frac{4}{T S_n(f)}}

Such that
Given a frequency series :math:`\\tilde{a}_w(f)`, whiten the data by applying

.. math::
Var(n) = \\frac{1}{N} \\sum_{k=0}^N n_W(f_k)n_W^*(f_k) = 2
\\tilde{a}_w(f) = \\tilde{a}(f) \\sqrt{\\frac{4}{T S_n(f)}}\\,,`

Where the factor of two is due to the independent real and imaginary
components.
where :math:`S_n(f)` is the Power Spectral Density (PSD). If the PSD correctly
describes the properties of the data, the resulting whitened frequency series
will be whitened in the sense that the real and imaginary components will be
standard normal random variables.

Parameters
==========
Expand Down
3 changes: 2 additions & 1 deletion docs/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ Welcome to bilby's documentation!

.. toctree::
:maxdepth: 1
:caption: Examples:
:caption: Tutorials:

making_priors
compare_samplers
fitting_with_x_and_y_errors
visualising_the_results
power_spectral_density_estimation

.. currentmodule:: bilby

Expand Down
Loading
Loading