Automated Graphical Spectra Analyser (AGSA)