Tools/Python Tools
(Difference between revisions)
Line 5: | Line 5: | ||
Numerical computation with [http://www.python.org/ Python] mainly bases on the following libraries: | Numerical computation with [http://www.python.org/ Python] mainly bases on the following libraries: | ||
− | * [http://www.numpy.org/ NumPy] | + | * [http://www.numpy.org/ NumPy] for arrays, linear algebra, ... |
− | * [http://www.scipy.org/ SciPy] | + | * [http://www.scipy.org/ SciPy] depends on [http://www.numpy.org/ NumPy], used to manipulate numbers, for signal processing, ... |
− | * [http://matplotlib.org/ matplotlib] | + | * [http://matplotlib.org/ matplotlib] for 2D plots |
The [https://code.google.com/p/spyderlib/ Spyder IDE] provides a MATLAB-like development interface. | The [https://code.google.com/p/spyderlib/ Spyder IDE] provides a MATLAB-like development interface. |
Revision as of 14:27, 2 April 2013
|
Python can be used to achieve results similar to Octave or Matlab. Additionally to numerical computation, packages allow to solve linear systems.
Numerical computation with Python mainly bases on the following libraries:
- NumPy for arrays, linear algebra, ...
- SciPy depends on NumPy, used to manipulate numbers, for signal processing, ...
- matplotlib for 2D plots
The Spyder IDE provides a MATLAB-like development interface. As a simple alternative, IPython provides a web-based GUI and Mathematica-like notebooks.
Installation
Linux
Installation can be done on a package basis, with easy_install or pip.
Install the IDE:
sudo apt-get install spyder
This also installs numPy
, sciPy
and matplotlib
.
Launch Spyder
, and in the console type:
t = linspace(0, 10, 100); plot(t, sin(t));
Windows
Download Python(x,y).
This will allow to install Python and other components of your choice.