Diagnostic of fast-ion energy spectra and densities in magnetized plasmas. (24th May 2019)