Skip to content

Commit

Permalink
czt: change default t_method to 'ce'
Browse files Browse the repository at this point in the history
Based on benchmarks, 'ce' is the fastest
  • Loading branch information
John Garrett committed Mar 2, 2021
1 parent 43d69af commit 872d2b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion czt.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# CZT ------------------------------------------------------------------------


def czt(x, M=None, W=None, A=1.0, simple=False, t_method="scipy", f_method="numpy"):
def czt(x, M=None, W=None, A=1.0, simple=False, t_method="ce", f_method="numpy"):
"""Calculate the Chirp Z-transform (CZT).
Solves in O(n log n) time.
Expand Down

0 comments on commit 872d2b0

Please sign in to comment.