Simple script using FFT method by Takeda