Photodetachment diagnostic techniques for measuring negative ion densities and temperatures in plasmas