Skip to content

Add python-scipy-fft materials folder - #979

Merged
realpython-bot merged 2 commits into
masterfrom
maintenance/python-scipy-fft-20261202
Dec 2, 2026
Merged

realpython-bot merged 2 commits into
masterfrom
maintenance/python-scipy-fft-20261202

Conversation

@realpython-bot

Copy link
Copy Markdown
Collaborator

Adds sample code for the tutorial Fourier Transforms With scipy.fft: Python Signal Processing, which had no materials folder.

  • One script per step of the tutorial's noise-removal example: sine_wave.py, mix_tones.py, fft_spectrum.py, rfft_spectrum.py, remove_noise.py.
  • Pins in requirements.txt match the update draft's dependencies field (scipy 1.18.1, numpy 2.5.5, matplotlib 3.11.2).

Update draft: https://realpython.com/pbjt/blog/post/2746/change/
Maintenance card: https://trello.com/c/Eo6Y0xog

Verified on Python 3.14 with the pinned versions: all five scripts run headless (MPLBACKEND=Agg). mysinewave.wav shows the 4000 Hz noise peak, and clean.wav has it removed (peak magnitude 8.4e8 -> 4.5e3). Passes ruff format --check, ruff check (0.14.1), and dircheck.py.

🤖 Generated with Claude Code

@realpython-bot
realpython-bot merged commit 01fd1cc into master Dec 2, 2026
1 check passed
@realpython-bot
realpython-bot deleted the maintenance/python-scipy-fft-20261202 branch December 2, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant