Skip to content

Commit

Permalink
Update chisurf.math.signal
Browse files Browse the repository at this point in the history
  • Loading branch information
tpeulen committed Nov 19, 2024
1 parent 1b5a4d0 commit 43f1789
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions chisurf/math/signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,6 @@ def xcorr_fft(
normalize: bool = True
) -> np.ndarray:
"""Computes the cross-correlation function of two arrays using fast fourier transforms.
If the ccf could not be computed a numpy array filled with ones is returned.
:param in_1: a numpy array that is cross-correlated with signal_b
:param in_2: a numpy array that is cross-correlated with signal_a
:param normalize: if normalize is True a normalized cross correlation function is returned
:return: a cross-correlation of the two input signals
"""
if len(in_1) > 0 and len(in_2) > 0:
c = in_1
Expand Down

0 comments on commit 43f1789

Please sign in to comment.