Astronomy and Space Exploration ES

Simulators / Periodogram: hunting periods in irregular data

Periodogram: hunting periods in irregular data

SecondaryHigher

A variable star (Cepheid, RR Lyrae) or an exoplanet by radial velocity with irregular observations (only at night, with gaps): Lomb–Scargle periodogram with the 1 % FAP line, daily aliases and spectral window, and the curve folded in phase with the detected period or the one you choose.

P(f)=1−χ2(f)χref2,y≈c+acos⁡2πft+bsin⁡2πft,falias=∣f±k d−1∣P(f) = 1 - \frac{\chi^2(f)}{\chi^2_{\rm ref}},\quad y \approx c + a\cos 2\pi f t + b\sin 2\pi f t,\quad f_{\rm alias} = |f \pm k\,\text{d}^{-1}|
Detected P
4.229 d (0.2365 cycles/d)
True P
4.230 d · error -0.03 %
Peak power
0.911 (1 % FAP threshold: 0.162)
FAP (Baluev)
< 0.01 % · significant
Verdict
matches the true period
Grid
3515 frequencies, Δf = 1.14e-3 c/d
Daily aliases of the peak
1.31 d, 0.809 d, 0.567 d, 0.447 d
Folded with
P = 4.229 d (detected)
Generalized Lomb–Scargle periodogram (floating mean; Zechmeister and Kürster 2009): at each frequency, y = c + a cos 2πft + b sin 2πft is fitted by least squares and P(f) = 1 − χ²(f)/χ²_ref ∈ [0, 1]. Grid Δf = 1/(n₀T) with n₀ ≤ 5 (VanderPlas 2018). The red line is the power whose false-alarm probability (Baluev 2008 bound) is 1 %. Observing only at night amounts to multiplying the signal by a 1-day comb: copies of the peak appear in the periodogram at f ± 1 cycle/day (aliases, yellow lines); the spectral window |Σ e^(−2πiftᵢ)|²/N² shows where. The faint green line is the true frequency. Reproducible synthetic data (mulberry32); Cepheid and RR Lyrae curves with three harmonics and typical parameters (Simon and Lee 1981; Simon and Teays 1982), not of a specific star.

Library: src/lib/math/lombscargle.tssrc/lib/math/seriesTemporales.ts