PB05 Python implementation of Peters & Bretherton (2005). Adapted from initial code written by Claude 3.5 Sonnet (😲).