A method for determining the vapor phase component of carbon mass loss