Control Systems Library for Python

From Murray Wiki
Revision as of 17:28, 23 May 2009 by Murray (talk | contribs)
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.

  1. Install SciPy - I did this using fink. Have to use the main/unstable tree.
  2. Install matplotlib - Need this for plotting
  3. 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