Source: https://www-liphy.ujf-grenoble.fr/pagesperso/bahram/Phys_Stat/phystat.pdf