Boltzmann Partition Function Python Definition