Boltzmann Partition Function Python Parameters