An integrated electronic spark source for basic and analytical emission spectroscopy