The energy of a spray | StemPy Lab