Replies: 3 comments 1 reply
-
The python-control package does not require sympy and pandas is optional (it will use it if it is on the system, but runs fine without it), but the others are pretty integral to the operation of the package. Another package for control system analysis is harold, but it also requires numpy, scipy, and matplot lib. |
Beta Was this translation helpful? Give feedback.
-
@CesMak could you check on how much time each of these packages takes to load/compile? If, as I suspect, matplotlib is a significant fraction, then that supports a move to separate out those parts of the library that require it (into for example |
Beta Was this translation helpful? Give feedback.
-
@murrayrm You are correct sry ma listening above is incorrect it was for https://pypi.org/project/control-toolbox/.
I had a look at harold already and I do not like it - control is a much better lib in many ways. @sawyerbfuller In that case I have to modify the current lib to my needs which means some effort. So I guess the short answer is: There is no leightweight / fast version of python-control as of now. |
Beta Was this translation helpful? Give feedback.
-
Hey there,
I would like to use this lib with pyodide in the browser. But it takes a long time to load cause it has so many dependencies:
await pyodide.loadPackage("numpy");
await pyodide.loadPackage("scipy");
await pyodide.loadPackage("matplotlib");
await pyodide.loadPackage("sympy");
await pyodide.loadPackage("pandas");
Do you know if I can use it in a more lightweigt way - or is there any other python control library which does not need so many dependencies?
Beta Was this translation helpful? Give feedback.
All reactions