Skip to content

Commit

Permalink
Merge pull request #194 from MideTechnology/feature/fft_overlap
Browse files Browse the repository at this point in the history
allow overlap for fft segments
  • Loading branch information
S-Hanly committed May 12, 2022
2 parents 64800ff + deb7d8b commit 3be10ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions endaq/calc/fft.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ def aggregate_fft(df, **kwargs):
- `SciPy Welch's method <https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.welch.html>`_
Documentation for the periodogram function wrapped internally.
"""
kwargs['scaling'] = 'unit'
kwargs['window'] = 'boxcar'
kwargs['noverlap'] = 0
kwargs.setdefault('scaling', 'unit')
kwargs.setdefault('window', 'boxcar')
return psd.welch(df, **kwargs)


Expand Down

0 comments on commit 3be10ed

Please sign in to comment.