when the calculation of the inverse Fourier transform is made.
Potential solutions may include upgrading lomb scargle to to the improved version in astroML addons, however this requires a designated C compiler. or potentially using another inverse Fourier transform function.
We have isolated the slowdown to line 59 https://github.com/astroML/astroML/blob/master/astroML/time_series/generate.py
when the calculation of the inverse Fourier transform is made.
Potential solutions may include upgrading lomb scargle to to the improved version in astroML addons, however this requires a designated C compiler. or potentially using another inverse Fourier transform function.