A neutral-particle analyser for plasma diagnostics