- Notifications
You must be signed in to change notification settings - Fork0
The Python Control Systems Library is a Python module that implements basic operations for analysis and design of feedback control systems.
License
forgi86/python-control
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The Python Control Systems Library is a Python module that implements basicoperations for analysis and design of feedback control systems.
- 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)
- Project home page:http://python-control.org
- Source code repository:https://github.com/python-control/python-control
- Documentation:http://python-control.readthedocs.org/
- Issue tracker:https://github.com/python-control/python-control/issues
- Mailing list:http://sourceforge.net/p/python-control/mailman/
The package requires numpy, scipy, and matplotlib. In addition, some routinesuse a module called slycot, that is a Python wrapper around some FORTRANroutines. Many parts of python-control will work without slycot, but somefunctionality is limited or absent, and installation of slycot is recommended(see below). The Slycot wrapper can be found at:
https://github.com/python-control/Slycot
The easiest way to get started with the Control Systems library isusingConda.
The Control Systems library has been packages for theconda-forge Conda channel, and as of Slycot version0.3.4, binaries for that package are available for 64-bit Windows,OSX, and Linux.
To install both the Control Systems library and Slycot in an existingconda environment, run:
conda install -c conda-forge control slycot
To install using pip:
pip install slycot # optional; see belowpip install control
If you install Slycot using pip you'll need a development environment(e.g., Python development files, C and Fortran compilers).
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 buildsudo python setup.py install
You can check out the latest version of the source code with the command:
git clone https://github.com/python-control/python-control.git
You can run the unit tests withpytest to make sure that everything isworking correctly. Inside the source directory, run:
pytest -v
or to test the installed package:
pytest --pyargs control -v
This is free software released under the terms ofthe BSD 3-ClauseLicense. There is nowarranty; not even for merchantability or fitness for a particularpurpose. Consult LICENSE for copying conditions.
When code is modified or re-distributed, the LICENSE file shouldaccompany the code or any subset of it, however small. As analternative, the LICENSE text can be copied within files, if sodesired.
Your contributions are welcome! Simply fork the GitHub repository and send apull request.
Please see theDeveloper's Wiki for detailed instructions.
About
The Python Control Systems Library is a Python module that implements basic operations for analysis and design of feedback control systems.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Languages
- Python100.0%