Spatially resolved, intracavity absorption for inductively coupled plasma diagnostics