Plasma diagnostics with spectral profile calculations.