Spectroscopy for identification of plasma sources for lithography and water window imaging