Determination of an electron affinity of halogens from thermal ionisation measurement of alkali halide vapours