A neural network for spectral analysis of stratigraphic records