Python Advance Course via Astronomy street

Python Advance Course via Astronomy street

S?rgio Sousa (CAUP)

ExoEarths Team ()

Python Advance Course via Astronomy street

Advance Course Outline:

Lesson 1: Python basics (T + P) Lesson 2: Python with Numpy (T + P) Lesson 3: Matplotlib, Scipy & Astronomy modules (Pyfits, Pyraf) (T + P) Lesson 4: Interfacing with C (P)

Python Advance Course via Astronomy street

Lesson 3: Python with Matplotlib, Scipy, Pyfits, Pyraf

Plotting with Matplotlib Using Scipy Pyfits ? Information Pyraf ? Easy install

>>> import matplotlib >>> help(matplotlib)

Matplotlib

Using Matplotlib

Simple plot ? using procedural interface (pyplot)

numpy useful to deal with data arrays Pyplot ? the module to "ignore" objects Creation of data (x, cos(x)) and (x, sin(x)) Plot each set of data

? note that objects are still created and in memory... Show comand to open the plot window (Freezing the Python interpreter)

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download