Jump to ratings and reviews
Rate this book

A Student's Guide to Python for Physical Modeling

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



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.

240 pages, Hardcover

Published August 3, 2021

5 people are currently reading
55 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
7 (26%)
4 stars
8 (30%)
3 stars
7 (26%)
2 stars
2 (7%)
1 star
2 (7%)
Displaying 1 - 6 of 6 reviews
Profile Image for Matt Heavner.
1,130 reviews14 followers
May 4, 2019
Good book but it didn't quite hit the mark. I would enjoy this as a freshman physics computation lab book.

I think it didn't quite get the depth / breadth / length combination optimized. Some of the "easy" things got too much time (the first couple of chapters were "too simple" - but maybe good for complete python newbies; the later chapters were a bit too brief). The "labs" / exercises were well designed and ran the reader through a good course.

I debated 2 or 3 stars, but for me - just two.
23 reviews1 follower
January 1, 2020
The content itself is pretty good but be cautious: the book would be too easy if you have any programming experience, even just MATLAB. This doesn't not mean it's not a good book to pick up, it simply means it's JUST an introduction to Python. You feel like you didn't get enough hard programming skills when you finish the whole book. I don't recommend this book as a self-study book for anyone. Any serious learner has to get another book after this little book. I would say a Coursera / Udacity / Edx course might be better.
Profile Image for Dileep N.
46 reviews6 followers
July 18, 2020
A gentle introduction to Python for students of Science and Math. It got me started on my Python journey. It certainly helps if you've already been exposed to programming before as this book focuses on showing you how to use Python for physical modeling and not on teaching you the language from the ground up. It's also too shallow to be a standalone Python guide or reference but it serves as an effective entry point into the fun world of Python.
4 reviews
April 2, 2018
Great intro for scientists

A nice no nonsense introduction to scientific computing aspects in python. It introduces concepts and techniques around clear and engaging examples that help you get up and running using python for modeling.
Profile Image for Jon.
119 reviews10 followers
March 22, 2020
Very well done! Would be great as a sophomore/junior intro to computational science programming. This is not for more experienced programmers. But it is great for intermediate level programmers who want to venture into math/science programming.
Displaying 1 - 6 of 6 reviews

Can't find what you're looking for?

Get help and learn more about the design.