The first in a series of articles on editing images in Python using the NumPy library.

Continue reading

The first in a series of articles on editing images in Python using the NumPy library.

Continue reading

The first in a series of articles on dropping down to the level of bits and bytes in Python.

Continue reading

Exploring the mathematics behind camera lens apertures and f-stop ratios with a bit of help from Python.

Continue reading

In this article I will write a simple module to display very large or very small numbers in scientific notation in a more appealing format than that used by Python.

Continue reading

I often use mathematical symbols in Python code which results in me scrabbling around to find the ones I need so I decided to write a simple module to simplify the process, which I will describe in this article.

Continue reading

In this project I will write a Python class to represent angles in various units, and provide a selection of arithmetic and comparison operators.

Continue reading

There is a wealth of information out there on plotting mathematical functions in Python, typically using NumPy to create a set of *y* values for a range of *x* values and plotting them with Matplotlib. In this article I will write a simple but powerful function to abstract away much of the repetitive code necessary to do this. In future articles I will show the code in use for a selection of functions.

In this article I will briefly explain radioactive decay and the concept of half-lives, and then go on to write Python code to illustrate the underlying mathematics.

Continue reading