Skip to main content
https://travis-ci.org/python-control/python-control.svg?branch=master https://coveralls.io/repos/python-control/python-control/badge.png

Python Control Systems Library

The Python Control Systems Library is a Python module that implements basic operations for analysis and design of feedback control systems.

Features

  • Linear input/output systems in state-space and frequency domain

  • Block diagram algebra: serial, parallel, and feedback interconnections

  • Time response: initial, step, impulse

  • Frequency response: Bode and Nyquist plots

  • Control analysis: stability, reachability, observability, stability margins

  • Control design: eigenvalue placement, linear quadratic regulator

  • Estimator design: linear quadratic estimator (Kalman filter)

Dependencies

The package requires numpy, scipy, and matplotlib. In addition, some routines use a module called slycot, that is a Python wrapper around some FORTRAN routines. Many parts of python-control will work without slycot, but some functionality is limited or absent, and installation of slycot is recommended (see below). Note that in order to install slycot, you will need a FORTRAN compiler on your machine. The Slycot wrapper can be found at:

https://github.com/python-control/Slycot

Installation

The package may be installed using pip, conda, or distutils.

Pip

To install using pip:

pip install slycot   # optional
pip install control

conda-forge

Binaries are available from conda-forge for selected platforms (Linux and MacOS). Install using

conda install -c conda-forge control

Distutils

To install in your home directory, use:

python setup.py install --user

To install for all users (on Linux or Mac OS):

python setup.py build
sudo python setup.py install

Development

Code

You can check out the latest version of the source code with the command:

git clone https://github.com/python-control/python-control.git

Testing

You can run a set of unit tests to make sure that everything is working correctly. After installation, run:

python setup.py test

License

This is free software released under the terms of the BSD 3-Clause License. There is no warranty; not even for merchantability or fitness for a particular purpose. Consult LICENSE for copying conditions.

When code is modified or re-distributed, the LICENSE file should accompany the code or any subset of it, however small. As an alternative, the LICENSE text can be copied within files, if so desired.

Contributing

Your contributions are welcome! Simply fork the GitHub repository and send a pull request.

Metadata

Release files for control 0.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for control 0.8.1
File Size Uploaded
control-0.8.1.tar.gz 168.7 kB Details

Release files / control-0.8.1.tar.gz

Download URL control-0.8.1.tar.gz
Size 168.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d01d6dc14888bdfef6878b3e995a4b2b16bc021447291a9b740a9ab0983d34c9
BLAKE2b-256 checksum
How to use checksums
69ba48b348c827d04dde6734ef2a04e704a3b4124a749cbdeec578fef80cedcd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.6

Release history Release notifications | RSS feed

0.10.1

2 release files

0.10.0

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

1 release file

0.9.1

1 release file

0.9.0

1 release file

0.8.4

1 release file

0.8.3

1 release file

0.8.2

1 release file

This release

0.8.1 This release

1 release file

0.8.0

1 release file

0.7.0

2 release files

0.6.6

1 release file

0.6.5

1 release file

0.6.2

1 release file

0.6.1

1 release file

0.6.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page