Iteratively prewhitens frequencies in a time series using the Lomb-Scargle periodogram and least squares fitting. Setup pip install balmung, or download the git files, and then python setup.py install