# Control Systems Library for Python

From Murray Wiki

Jump to navigationJump to search
This page collects some notes on a control systems library for Python. The plan is to create an alternative to the MATLAB Control System Toolbox™ that can be used in courses and for research. This page collects information about the toolbox, in preparation for actually writing some code. If you stumble across this page and know of a similar package or would like to contribute, let me know.

## Architecture notes

## Installation instructions

I'm using the IPython environment, with the the matplotlib extensions (which enables MATLAB-like plotting). I am doing all of my playing on OS X, using fink.

Here's what I had to do to get the basic setup that I am using.

- Install SciPy - I did this using fink. Have to use the main/unstable tree.
- Install matplotlib - Need this for plotting
- Install ipython - interactive python interface

Small snipped of code for testing if everything is installed

import from scipy * import from matlibplot * a = zeros(1000) a[:100]=1 b = fft(a) plot(abs(b)) show()

## Related documentation

### Python documentation

- SciPy.org - main web site for SciPy
- IPython - enhanced shell for python
- matplotlib - 2D plotting for python