A spectroscopic investigation of the development of a hot-anode vacuum arc