Cyclotron radiation as a diagnostic tool for tokamak plasmas