Finding Repeated Signals in Noisy Time-Series Data: Revealing How Fast an Asteroid Spins
- Problem
- Find a repeating signal, and a fainter one hiding underneath it, in measurements that are sparse, irregular, and noisy.
- Data
- 434 brightness measurements of asteroid (16152) over 51 days from Las Cumbres Observatory’s 1-meter telescopes, plus a planted test signal with a known answer.
- Built
- A tested, documented Python package: period search, uncertainties from 1,000 randomized refits, and a search of the leftover signal for eclipses.
- Builds on
- Period-fitting code I developed over several years, first used publicly in two student-led papers in the Minor Planet Bulletin (2019).
- Performance
- Broad period search (2 to 300 hours, about 430 measurements of one asteroid) in 5 to 6 minutes on a laptop; period within 0.02% of an independent solution.
- Comparable client project
- About 2 to 3 weeks per object, including data vetting, a written report, and handover.
Client estimates start from my recorded hands-on time, add a margin for meetings and off-computer work, then add time to vet and reconcile the client’s data, background research, a written report, and handover, counted in 40-hour weeks.
Why an asteroid’s spin is hard to measure
An asteroid’s brightness rises and falls as it spins, so its rotation period is written in its light. Reading it is hard: telescope time is scarce, measurements arrive in short bursts on scattered nights, and the asteroid also brightens and dims as its distance and the angle of sunlight change. Can a precise spin period, with an honest error bar, be pulled out of data like that?
Finding an asteroid’s spin rate
SpinDoc first finds the spin period. It tries thousands of trial periods, and at each one fits a smooth repeating pattern together with a model of how brightness changes with the angle of sunlight, keeping the period that best explains the data. Two traps get explicit checks: settling on half the true period (an elongated asteroid brightens twice per turn), and trusting a single lucky fit. Uncertainty comes from refitting 1,000 randomized copies of the data rather than from a formula.
Checking the spin period against an independent model
On real data from asteroid (16152), the period comes out at 22.931 hours with a brightness swing of about 45% between dips and peaks (0.40 magnitudes), and the model fits to within measurement errors (reduced chi-squared 1.10, where 1 means the model fits as well as the measurement errors allow). An independent solution in the DAMIT database of asteroid models, built from years of observations, gives 22.936 hours, within 0.02%. The randomized refits give a statistical uncertainty of ±0.002 hours; the 0.005-hour difference from DAMIT suggests errors shared across a night add a comparable amount.
Searching for moons in periodic brightness anomalies
A moon that passes in front of its asteroid leaves short dips in brightness that repeat on its orbital period. With the spin pattern subtracted, what remains should be pure noise, so SpinDoc searches it for box-shaped dips across a range of trial periods, the same idea astronomers use to find planets crossing in front of other stars.
Testing the moon search on a planted moon
No moon is known for (16152), so to test the moon search I planted one: a synthetic eclipsing companion on a 61.7-hour orbit, added to real observing times with realistic noise, and asked the pipeline to find it without telling it where to look. SpinDoc recovered the planted moon’s orbit at 61.64 hours, within a tenth of a percent, and flagged both eclipses, recovering their depths as 12% and 9% (planted at 14% and 8%). These numbers come from a single trial; mapping exactly how faint a moon it can find would mean repeating the test many times at different depths and periods.
Finding repeating signals in other irregular data
A strong periodic signal with a weaker one hiding underneath, sampled irregularly, is a common shape for data: vibration in rotating machinery, daily and weekly cycles in sensor, traffic, or sales records, and any monitoring stream where the interesting event is small next to the routine one.
Tools: Python, NumPy, SciPy, Fourier-series period search, Monte Carlo uncertainties, box-shaped dip search, pytest
Read the code: SpinDoc on GitHub →Feel it for yourself: fold the real data until the asteroid’s spin period reveals itself.
Try the interactive demo