Optimize finding a power threshold for period hints
Optimize finding a power threshold for period hints

The Monte Carlo approach described in the paper is rigorous but very slow.
The get_period_hints function now finds a power level for a given confidence
using an exponential distribution and the unnormalized ('psd') periodogram,
as used in the R 'lomb' package.

akofke/autoperiod