Einstein tiling
The "hat" is a single shape that tiles the plane aperiodically (without translational symmetry). This post introduces the Python package einstein-tiling, which can be used to build these tilings.
A blog of Python-related topics and code.
New posts also come by RSS feed.
The "hat" is a single shape that tiles the plane aperiodically (without translational symmetry). This post introduces the Python package einstein-tiling, which can be used to build these tilings.
A simulation of the free-surface effect, which can lead to a ship carrying a liquid cargo to capsize where the same ship carrying the same mass of solid cargo will float upright.
A short article about using GitHub's command line interface tools to bulk-delete spam issues in a repository.
The different orders of rainbow caused by different number of internal reflections of light in a rain droplet are simulated and a derivation of their angular size given. The provided code simulates the rainbow orders that would be observed away from and towards the sun, …
The Kawasaki dynamics formalism from statistical physics provides a simple model of a phase change (for example, the condensation of a gas at low enough temperature). Considering a gas of particles on a two-dimensional lattice of cells, a given configuration's energy can be calculated as …
Abstract Most textbooks and lecture notes on molecular spectroscopy assert that the most intense transition in the pure rotational (microwave) absorption spectrum () of a closed-shell, diatomic molecule is given, as a function of temperature, by the formula (where is the molecule's rotational constant and …
The UK Ordnance Survey is the national mapping agency for Great Britain. Its maps refer to locations using a grid of easting and northing coordinates (the British National Grid) instead of a graticule of longitude and latitude, but there is an algorithm for converting between …
Cartopy is a Python package for geospatial data processing, map production and other geospatial data analyses. This short script plots a map of the world using an orthographic projection and highlights a specified country.
A Python script to generate stylised maps with land regions depicted by spaced markers (circles, polygons, etc).
This previous article derived the form of the kinetic energy operator for a diatomic molecule with the space-fixed origin at the molecular centre of mass: where is the reduced mass of the nuclei, is the electron mass, is the total molecular mass (including the electrons), …