Python for Physics and Astronomy: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
The topics covered are -- | The topics covered are -- | ||
#[http://prancer.physics.louisville.edu/astrowiki/index.php/Programming_for_Physics_and_Astronomy]Why program? Choosing a language. | #[http://prancer.physics.louisville.edu/astrowiki/index.php/Programming_for_Physics_and_Astronomy /Programming_for_Physics_and_Astronomy] Why program? Choosing a language.] | ||
#Simple Python | #Simple Python | ||
#Data types: numbers and strings | #Data types: numbers and strings |
Revision as of 20:47, 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 --
- /Programming_for_Physics_and_Astronomy Why program? Choosing a language.]
- Simple Python
- Data types: numbers and strings
- Lists, tuples, and statements
- Assignments and flow control
- Functions
- Matplotlib and graphics
- Computing with Numpy, Scipy and Scikit
- Handling astronomical FITS files with Pyfits