Skip to content

Commit 85294b4

Browse files
committed
TYPO: typo fixes in whitening function
1 parent a52830d commit 85294b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bilby/gw/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,14 +313,14 @@ def whiten_and_crop(frequency_series, amplitude_spectral_density, frequency_mask
313313
np.ndarray
314314
The whitened frequency series
315315
316-
.. [1] C. Talbot et al. 2025
316+
.. [1] C. Talbot et al. 2025
317317
`Class. Quantum Grav. 42 235023 <https://dx.doi.org/10.1088/1361-6382/ae1ac7>`_
318318
"""
319319
whitened = frequency_series / amplitude_spectral_density
320320
initial_white = np.nan_to_num(whitened) * frequency_mask
321321
time_series = np.fft.irfft(initial_white)
322322
cropped_time_series = time_series[time_mask]
323-
cropped_white, _ = np.fft.rfft(cropped_time_series)
323+
cropped_white = np.fft.rfft(cropped_time_series)
324324
cropped_duration = duration * len(cropped_time_series) / len(time_series)
325325

326326
return cropped_white * (4 / cropped_duration)**0.5

0 commit comments

Comments
 (0)