Analysis of tree spectra