A method for modelling the spectrum of an earthquake using genetic algorithms.