Skip to content

Commit

Permalink
Add t2f and f2t to test.
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettj403 committed Dec 20, 2024
1 parent 22f95cd commit c4a1165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_czt.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ def test_time_to_freq_to_time(debug=False):
x1 = _signal_model(t1)

# Frequency domain
f, X = czt.time2freq(t1, x1)
f, X = czt.t2f(t1, x1)

# Back to time domain
t2, x2 = czt.freq2time(f, X, t=t1)
t2, x2 = czt.f2t(f, X, t=t1)

# Plot for debugging purposes
if debug:
Expand Down

0 comments on commit c4a1165

Please sign in to comment.