Conductivity effective masses of PbS and GaAs as a function of carrier density