Python

How to simulate particle systems with NumPy and SciPy - Part I

Jorge Martínez Garrido
How to simulate particle systems with NumPy and SciPy - Part I

Modeling particle systems usually involves the usage of some kind of list or array objects in order to store the different vector quantities such us positions, velocities or accelerations. Most of these simulations consider a three-dimensional space and the physical system to evolve over time. Therefore, how can we efficiently track all these vector quantities? In the first post of this series, a closer look at the general particle simulation elements is introduced together with how to effectively store simulation data.

Hertzsprung-Russell diagram with Python

Jorge Martínez Garrido
Hertzsprung-Russell diagram with Python

When it comes to stars classification, the Hertzsprung-Russell diagram is probably the most popular way of doing so. These diagrams relate the temperature of the star and its luminosity. After plotting the values for different stars, several groups arise in the figure, which enable to distinguish between different types of stars. Check out this post for more on how to plot H-R figures with Python!