Made by Alexandre Fournier ([email protected]), modified by Léonard Seydoux ([email protected]) in 2023 for the course Scientific Computing for Geophysical Problems at the [institut de physique du globe de Paris
This Jupyter Notebook provides examples of basic signal processing with Python. It covers topics such as generating synthetic time series, computing Fourier transforms, and applying filters to signals. The examples use the numpy
, scipy
, and matplotlib
libraries. The notebook is organized into cells, each containing a block of code that can be executed independently. If a module is already imported in a cell, it can be used in other cells as well. For the same reason, if a variable is defined in a cell, it can be used in other cells as well. We should not repeat the same import or variable definition in multiple cells, unless we want to overwrite the previous definition.
The notebook named signal_processing.ipynb
presents the different concepts and examples with exercices to be completed. The solution to this notebook is provided in the notebook named signal_processing_solution.ipynb. It comes with two datasets located under the data
folder:
data/chambon_la_foret.dat
, which contains 78 years of geomagnetic measurements at Chambon-la-Forêt, France.data/sunspot_number.dat
, which contains the monthly sunspot number from 1749 to 2016.