Wave processing method checks peak detection method