Documents for the short (one hour) seminar
"Python for Signal & Control - an overview".
The seminar was held at Supélec, Rennes, on December 3, 2014.
1) Introduction
A 20 minutes introduction, with a discussion of the comparative functionalities of Matlab and Python, and an overview of the Python ecosystem. Slides:
- Python for control.odp, for LibreOffice/OpenOffice
- Python for control.pdf (no animations)
This introduction is followed by an interactive demonstration, with examples taken from a signal & control curriculum.
2) Live demo with IPython Notebooks
Example 1 : IIR filter design
This Notebook illustrates some signal filtering functions from scipy.signal
. They are similar to Matlab IIR filter design functions.
Files:
- filter_design.ipynb (original notebook file),
- filter_design.html (html export)
Example 2 : LQ Control
This Notebook illustrates the following libraries:
- symbolic math with
SymPy
(http://sympy.org) - numerical regulator synthesis with
python-control
(http://python-control.sourceforge.net/manual/) - (and a bit of plotting with
matplotlib
, http://matplotlib.org/)
...applied on the example of a Linear Quadratic control problem.
Files:
- lq_control.ipynb (original notebook file),
- lq_control.html (html export)