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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ The original MRs are only visible on the [LIGO GitLab repository](https://git.li

## [Unreleased]

### Fixes
* Corrected incorrect docstrings for `matched_filter_snr` and `optimal_snr_squared` in `bilby/gw/utils.py` (closes #731)

## [2.7.1]

### Fixes
Expand Down
4 changes: 2 additions & 2 deletions bilby/gw/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def matched_filter_snr(signal, frequency_domain_strain, power_spectral_density,

Returns
=======
float: The matched filter signal to noise ratio squared
complex: The complex matched filter signal to noise ratio

"""
rho_mf = noise_weighted_inner_product(
Expand Down Expand Up @@ -184,7 +184,7 @@ def optimal_snr_squared(signal, power_spectral_density, duration):

Returns
=======
float: The matched filter signal to noise ratio squared
float: The square of the optimal matched filter signal to noise ratio

"""
return noise_weighted_inner_product(signal, signal, power_spectral_density, duration)
Expand Down