Python for Physics and Astronomy: Difference between revisions

From AstroEdWiki
Jump to navigation Jump to search
(Created page with "The Python programming language is a widely used tool for basic research and engineering. Its rapid rise in popularity is supported by comprehensive, largely open-source, con...")
 
No edit summary
Line 4: Line 4:


#Why program? Choosing a language.  
#Why program? Choosing a language.  
#Simple Python
#Simple Python
#Data types: numbers and strings
#Data types: numbers and strings
#Lists, tuples, and statements
#Lists, tuples, and statements
#Assignments and flow control
#Assignments and flow control
#Functions
#Functions
#Matplotlib and graphics
#Matplotlib and graphics
#Computing with Numpy, Scipy and Scikit
#Computing with Numpy, Scipy and Scikit
#Handling astronomical FITS files with Pyfits
#Handling astronomical FITS files with Pyfits

Revision as of 07:44, 28 January 2013

The Python programming language is a widely used tool for basic research and engineering. Its rapid rise in popularity is supported by comprehensive, largely open-source, contributions from scientists who use for their own work. This short course offers an introduction to Python with examples drawn from physics and astronomy.

The topics covered are --

  1. Why program? Choosing a language.
  2. Simple Python
  3. Data types: numbers and strings
  4. Lists, tuples, and statements
  5. Assignments and flow control
  6. Functions
  7. Matplotlib and graphics
  8. Computing with Numpy, Scipy and Scikit
  9. Handling astronomical FITS files with Pyfits