Physics & Astronomy

A Student's Guide to Python for Physical Modeling: Second Edition

A fully updated tutorial on the basics of the Python programming language for science students

ebook

30% off with code PUP30

Sale Price:
$18.87/£15.40
Price:
$26.95/£22.00
ISBN:
Published:
Sep 10, 2024
2021
Illus:
5 color illus.
Main_subject:
Physics & Astronomy
Buy This

Python is a computer programming language that has gained popularity throughout the sciences. This fully updated second edition of A Student’s Guide to Python for Physical Modeling aims to help you, the student, teach yourself enough of the Python programming language to get started with physical modeling. You will learn how to install an open-source Python programming environment and use it to accomplish many common scientific computing tasks: importing, exporting, and visualizing data; numerical analysis; and simulation. No prior programming experience is assumed.

This guide introduces a wide range of useful tools, including:

  • Basic Python programming and scripting
  • Numerical arrays
  • Two- and three-dimensional graphics
  • Animation
  • Monte Carlo simulations
  • Numerical methods, including solving ordinary differential equations
  • Image processing


Numerous code samples and exercises—with solutions—illustrate new ideas as they are introduced. This guide also includes supplemental online resources: code samples, data sets, tutorials, and more. This edition includes new material on symbolic calculations with SymPy, an introduction to Python libraries for data science and machine learning (pandas and sklearn), and a primer on Python classes and object-oriented programming. A new appendix also introduces command line tools and version control with Git.