python pylab environment for 32 bit windowsmmcleod/python-pylab-setup.pdf · python / pylab...
TRANSCRIPT
![Page 1: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/1.jpg)
Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive programming language commonly used in the ALMA project, especially for writing test scripts and for prototyping control software. IPython is a very convenient shell for interacting with Python. These along with a few widely used libraries for numerical analysis and plotting yield a yield a convenient interactive data analysis environment similar to MatLab. Base system required: Python 2.6 Packages Required: Matplotlib – plotting package Numpy – numerical analysis and matrix math Statlib – statistical package IPython – interactive shell, provides "PyLab" mode similar to MatLab PyReadLine – library required by IPython for color text support Download Python and install 2.6.5 Windows installer:
![Page 2: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/2.jpg)
![Page 3: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/3.jpg)
![Page 4: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/4.jpg)
![Page 5: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/5.jpg)
Python is installed:
![Page 6: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/6.jpg)
Download matplotlib:
![Page 7: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/7.jpg)
Version for Python 2.6:
![Page 8: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/8.jpg)
![Page 9: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/9.jpg)
![Page 10: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/10.jpg)
![Page 11: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/11.jpg)
Download and install NumPy:
![Page 12: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/12.jpg)
Etc...
![Page 13: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/13.jpg)
Download and install python‐statlib:
![Page 14: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/14.jpg)
Etc...
![Page 15: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/15.jpg)
Download and install PyReadLine:
![Page 16: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/16.jpg)
![Page 17: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/17.jpg)
Etc...
![Page 18: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/18.jpg)
Download and install IPython:
![Page 19: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/19.jpg)
Etc...
![Page 20: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/20.jpg)
IPython installed:
Launch IPython:
![Page 21: Python PyLab environment for 32 bit Windowsmmcleod/Python-PyLab-setup.pdf · Python / PyLab environment for 32‐bit Windows: M. McLeod 2010‐06‐10 Python is a flexible interactive](https://reader034.vdocument.in/reader034/viewer/2022042400/5f0eab9d7e708231d4405c3d/html5/thumbnails/21.jpg)
Running AmpPhaseTools in IPython:
On line [3] I typed "import Am<TAB>" and it provided the listing of matching files. See the examples in the AmpPhaseTools README file for how to use.