Cavity enhanced plasma self-absorption spectroscopy: A new diagnostic tool for light emitting matter