A frequency counts cycles per unit time
Let time be measured in days relative to a chosen origin. A frequency counts cycles per day; period is days per cycle. The angular argument of a sine uses radians, so multiply frequency by time and by a full turn in radians. An initial phase specifies where the star begins in its cycle.
The browser source has mean normalized intensity one, semi-amplitude 0.23 and period 0.635 days. A semi-amplitude is the distance from the mean to a maximum. This is a synthetic sinusoid; real RR Lyrae stars have a more asymmetric pulse shape. The source keeps this period when the schedule changes.
Reading: VanderPlas, Understanding the Lomb–Scargle Periodogram, arXiv v1 · OGLE-IV LMC RR Lyrae official data README
Regular sampling cannot count an extra whole turn
Suppose each visit occurs after the same interval, with an initial time offset. Replace the signal frequency by the original frequency plus an integer multiple of the visit frequency. At visit number n, the new angular argument adds an integer number of full turns plus a constant. Adjusting the initial phase removes the constant; every sampled sine value is identical.
A negative frequency can be represented by a positive one with a reflected phase. The family of aliases therefore uses an absolute value. This derivation assumes strictly regular timestamps and an unknown sinusoidal phase and amplitude. Adding more visits at those same phases does not distinguish the family.
For a sufficiently band-limited signal sampled regularly, the Nyquist theorem selects a unique representation below half the visit frequency. That restriction is an assumption about which continuous signals are allowed. A star with an unknown faster rhythm can still leave an indistinguishable slower sequence.
Reading: VanderPlas, Understanding the Lomb–Scargle Periodogram, arXiv v1 · Astropy 8.0.2 Lomb–Scargle documentation
Worked example: a fifteen-hour star looks slower
Observe the injected 0.635-day star once each day. Its frequency is about 1.57480 cycles per day. Subtracting twice the daily visit frequency and reflecting gives 0.42520 cycles per day, a period of about 2.352 days. Subtracting only one gives another candidate near 1.740 days. All are daily aliases of the same samples.
The browser searches a fixed frequency grid, so its reported values are discretized. With seed 707, the once-nightly run selects a 2.35294-day peak with power 0.9352. Spreading three visits across each nightly window selects 0.634921 days. The star was not slowed by the first camera schedule or accelerated by the second.
These are representative synthetic detector results, generated by acquireCadence and saved with the fixed source, twenty-four nominal nights and five-minute exposures. Detector noise changes with the exported seed. The worked alias relation itself is exact for instantaneous regular samples; a known exposure response changes amplitudes, discussed below.
Reading: VanderPlas, Understanding the Lomb–Scargle Periodogram, arXiv v1
Irregular visits leave a characteristic window
For irregular times there is no single visit frequency to put into the exact alias equation. Instead add a unit arrow for each observing time at every trial frequency. The arrow angle is that frequency times the observing time, converted to radians. A complex exponential is a short way to store its two coordinates, cosine and sine.
When the arrows line up, their sum is large. A regular daily schedule makes them align at one cycle per day and its multiples. Jitter rotates individual arrows away from that alignment. Squaring the length and dividing by the squared number of visits defines a window power equal to one at zero frequency.
This window depends only on timestamps. It predicts where the sampling can generate competing structure; it is not itself a measured stellar spectrum. A floating-mean fit to a constant signal would return no variability. We calculate the window directly from the timestamp arrows, including its zero-frequency component.
Reading: VanderPlas, Understanding the Lomb–Scargle Periodogram, arXiv v1 · Astropy 8.0.2 Lomb–Scargle documentation
The shutter averages during an exposure
A camera does not take an infinitely short point sample. A rectangular exposure averages intensity over a duration centered on its timestamp. Integrating the sine gives the same midpoint phase multiplied by a sinc factor. Slow variations survive nearly unchanged; a rapid oscillation can partly cancel within one exposure.
For the five-minute exposure and 0.635-day period, the attenuation is about 0.99995. The point-sample approximation is excellent for that source. At much higher frequencies the exposure response becomes important even if irregular visit times could otherwise distinguish the phase pattern. Timestamp precision and integration duration are different limitations.
Reading: VanderPlas, Understanding the Lomb–Scargle Periodogram, arXiv v1 · Patterson et al., ZTF Alert Distribution System, arXiv v1
A short flash can fit entirely in the gap
Consider ideal instantaneous visits separated by a gap and a rectangular flash of duration D, with a uniformly random start phase. If the flash is shorter than the gap, the fraction of phases that put a visit inside it is D divided by the gap. This simple completeness calculation is about overlap, before noise or a threshold.
Finite exposures enlarge the set of overlapping phases, but partial overlap dilutes the measured intensity and may fail the detection threshold. The browser therefore averages its Gaussian flash through each actual exposure before adding noise and checking the trigger. Processing time affects the alert’s arrival after detection, not which incident photons were collected.
Reading: VanderPlas, Understanding the Lomb–Scargle Periodogram, arXiv v1 · Patterson et al., ZTF Alert Distribution System, arXiv v1