The source code for the calculations for the LIFE biodiversity metric paper.