An electron energy analyser in magnetised plasmas