Plasma diagnostics