List of programs
We have built many programs in this book. The table below summarizes these programs and dependencies. Standard libraries such as Matplotlib (2D), NumPy, and SciPy are omitted. Library abbreviations are: fft – fast Fourier transform (fft.py, Chapter 5); fem – finite element method (fem.py, Chapter 9); fileio – file input/output (fileio.py, Chapter 9); itg – numerical integration (integral.py, Chapter 8); ode – ordinary differential equation (ode.py, Chapter 2); rtf – root finders (rootfinder.py, Chapter 3); and vpm – VPython Modules (vpm.py, Chapter 6). In addition, we also note the use of 3D and animation libraries: Axes3D – Matplotlib 3D plotting; am – Matplotlib animation; and vp – VPython.
Page numbers with the “S:” prefix are entries from the Digital Online Companion.
Program | Description | Dependence |
3body, 206 | Three-body motion | ode, rtf, vp |
balltoss, 84 | Ideal projectile motion | vp |
baseball, 132 | Flight of baseball | ode, vp |
bdipole, 391 | Magnetic dipole field | vp |
bem, 522 | Basis expansion method | itg |
bisect, 130 | Bisection root finder | |
boltzmann, 627 | Boltzmann distribution | |
bouncing_ball, 40 | Bouncing ball | vp |
brownian, 559 | Brownian motion | am |
coupled, S:112 | Quantum transitions | ode, vp, vpm |
ctmc, S:263 | Classical ion-atom collisions | ode, rtf. vp, vpm |
deflect, 679 | Deflection function | itg, rtf |
dipole, 394 | Dipole distribution | Axes3D |
earth, 136 | Planetary motion | ode, vp |
edipole, 393 | Electric dipole radiation | vp |
eigh, 285 | Eigenvalue problem ... |
Get Computational Modeling and Visualization of Physical Systems with Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.