The k-moment method for modeling the blackbody weighted transmission function for narrow and wide band radiative properties of gases