Numerical Python in Astronomy and Astrophysics: A Practical Guide to Astrophysical Problem Solving

Front Cover
Springer Nature, Jul 14, 2021 - Science - 250 pages
This book provides a solid foundation in the Python programming language, numerical methods, and data analysis, all embedded within the context of astronomy and astrophysics. It not only enables students to learn programming with the aid of examples from these fields but also provides ample motivation for engagement in independent research. The book opens by outlining the importance of computational methods and programming algorithms in contemporary astronomical and astrophysical research, showing why programming in Python is a good choice for beginners. The performance of basic calculations with Python is then explained with reference to, for example, Kepler’s laws of planetary motion and gravitational and tidal forces. Here, essential background knowledge is provided as necessary. Subsequent chapters are designed to teach the reader to define and use important functions in Python and to utilize numerical methods to solve differential equations and landmark dynamical problems in astrophysics. Finally, the analysis of astronomical data is discussed, with various hands-on examples as well as guidance on astronomical image analysis and applications of artificial neural networks.
 

Contents

1 Python Basics
1
2 Computing and Displaying Data
19
3 Functions and Numerical Methods
55
4 Solving Differential Equations
105
5 Astronomical Data Analysis
184
Appendix A ObjectOriented Programming in a Nutshell
225
Appendix B Making Python Faster
232
B2 Cythonizing Code
237
B3 Parallelization and GPU Offloading
241
Appendix References
243
Index
245
Copyright

Other editions - View all

Common terms and phrases

About the author (2021)

Wolfram Schmidt is Head of IT and senior researcher at the Hamburg Observatory. He holds a Dipl.-Ing. in Physics and an M.Phil. in Astrophysics and received his Dr. rer. nat. from the Technical University of Munich and the Max Planck Institute for Astrophysics, Garching. He completed his Habilitation with a thesis on the numerical modeling of astrophysical turbulence. Dr. Schmidt has worked on numerical simulations of a variety of astrophysical systems, ranging from thermonuclear supernovae through star-forming clouds to cosmological structure formation. Currently he is conducting research projects in the areas of computational cosmology and magnetohydrodynamic turbulence with international collaborators. In addition to his research activities, he teaches high-performance computing at Hamburg University and acts as a consultant to the Northern Supercomputing Alliance (HLRN).

Marcel Völschow is a research associate at Hamburg University. He holds BSc and MSc degrees in Physics and the subject of his doctorate is magnetic processes in binary stars. While being rooted in theoretical astrophysics, his research also covers the processing and analysis of large survey data sets. Whether working in public outreach, high school labs, or academic teaching, he has always been motivated by enthusiasm for the beauty of the universe. He is the author of a number of articles in peer-reviewed journals.

Bibliographic information