---
title: "Observing Cadence and Aliases Interactive Lab | Sandbox Physics"
description: "Why can the same variable star appear to have a different period when you change the observing times?"
canonical_url: "https://sandboxphysics.com/labs/observing-cadence-aliases/"
language: "en"
page_type: "lab"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/labs/observing-cadence-aliases/"
last_modified: "2026-10-28"
---

AC07 · The times you choose

# Observing Cadence and Aliases

**Why can the same variable star appear to have a different period when you change the observing times?** Regular gaps can make different periods match the same measurements. Moving or spreading the visits changes those competing matches. Brief flashes can fall entirely between exposures, and an alert must wait for a useful exposure to finish and be processed.

Drag the observing window around a clock. Sample a pulsating star and a brief flash with the same camera schedule, compare period aliases, and see when the first alert can arrive.

> Interactive simulation: open this page in a web browser to change the parameters and run the model.

Model assumptions

The camera measures two synthetic sources through five-minute rectangular exposures with independent Gaussian noise: a sinusoidal variable and a Gaussian flash. A fixed nightly schedule, optional jitter and weather gaps determine all saved samples. A weighted floating-mean single-harmonic period search analyzes the variable. The clock is an observing scheduler in relative hours, not a sky-visibility or daylight ephemeris; source size and propagation distances are schematic. Alert timing includes exposure completion and a fixed processing delay, relative to an explicitly defined continuous threshold crossing. A fitted peak is not a probability of the correct period. The separate observed OGLE tutorial calibrates full-search false alarms and injection recovery at its actual sample times.

The clock shows a nominal observing window in relative hours; small ticks show actual scheduled visits on the replayed day. The sky is schematic, and the camera screen retains its last acquired intensity.

One variable, chosen observing times

Competing trial frequencies

The sampling window

Did the camera catch the flash?

Gray and muted gold are ideal source references; cyan and bright gold are noisy exposure samples with error bars. Violet uses observing times only, and a red dashed line marks the flash trigger threshold.

The saved schedule missed the flash: no exposure crossed the trigger threshold.

What the fitted period and alert mean

The variable has an injected period of 0.635 days. A single-harmonic weighted floating-mean fit searches all declared trial frequencies; equal daily sampling can give indistinguishable aliases. The browser reports a peak, with no false-alarm probability. The real OGLE tutorial simulates full-search null maxima at exactly its observed times and grid, then separately counts correct, aliased and missed injections.

The transient is a separate Gaussian source. Its trigger uses five times the known per-exposure noise. The reference time is when its ideal continuous intensity first crosses that same threshold, not its peak or an emission start. Noise can cause an earlier trigger. This is a simplified trigger, not a calibrated survey classifier.

Physics tutorial

## The camera chooses which changes survive

**Background** A variable star keeps changing while the telescope is closed. A sequence of brief exposures records only selected parts of its motion through brightness. Different continuous light curves can pass through the same sampled points.

**Why it matters** A strong periodic peak can be an alias, and a short flash can disappear into an observing gap. Planning the visits is part of the measurement.

Start with the essentials

- **Focus question**: Will adding visits at the same hour resolve a daily alias?
- **One-sentence intuition**: The pattern of sample times determines which trial frequencies compete.

### Core mathematical model

#### Daily aliases

$$
f_{\rm alias}=|f_{\rm true}+k f_s|,\qquad k\in\mathbb Z
$$

For exactly regular samples, adding an integer number of cycles between visits leaves the sampled phases equivalent, with an adjusted phase.

#### Sampling window

$$
W(f)=\frac1{N^2}\left|\sum_{j=1}^N e^{2\pi i f t_j}\right|^2
$$

This transform uses the actual observing times only. A strong daily window peak predicts competing daily aliases.

#### A floating-mean period search

$$
y_j=c+a\cos(2\pi f t_j)+b\sin(2\pi f t_j)+\epsilon_j,\quad P(f)=1-\frac{\chi^2(f)}{\chi^2_0}
$$

At each trial frequency fit the offset, cosine and sine together. Power measures improvement over a constant fit, with the same measurement-error weights.

### Common difficulties

#### A peak is not a probability

**Typical misconception** The tallest peak has a ninety-percent power, so its period is ninety-percent likely to be correct.

**Better mental model** Power is a normalized fit improvement. False-alarm calibration asks how often noise gives a peak at least that high somewhere in the full search. Choosing the correct alias needs a separate injection-recovery experiment or additional observations.

### Run the experiment

1. 01

   #### Break a daily repetition

   Compare One visit each night with Spread visits through the night. Predict whether the period or the star itself will change.

   **What to observe:** The source period stays fixed, but extra phases distinguish the aliases.

2. 02

   #### Move a window across a flash

   Choose Miss the short flash, then drag the window toward the sixteen-hour mark.

   **What to observe:** The sampled flash crosses the trigger threshold only when an exposure overlaps it.

3. 03

   #### Wait for the alert

   Choose Catch the short flash and add sixty minutes of processing latency in the advanced settings.

   **What to observe:** The physical samples stay at the same times; the first alert moves an hour later.

Physical conclusion

Separate finding a change from assigning it the correct period; separate a source becoming detectable from an alert reaching an observer.

## Related experiments and articles

Continue exploring

### Measuring the sky

What do positions, colors, interference and radio delays reveal about the sky?

1. [You are here **Observing Cadence and Aliases** Move exposures and compare the rhythms that survive the sampling.](https://sandboxphysics.com/labs/observing-cadence-aliases/)
2. [Lab **Supernova Distances and the Distance Ladder** Move a geometric distance anchor and follow its shared calibration error.](https://sandboxphysics.com/labs/supernova-distance-expansion/)
3. [Lab **Stellar Parallax and Proper Motion** Change the stellar distance and follow its annual motion.](https://sandboxphysics.com/labs/stellar-parallax-proper-motion/)
4. [Lab **Crowded-star Photometry** Move the aperture and compare the light admitted from neighbouring stars.](https://sandboxphysics.com/labs/crowded-star-photometry/)
5. [Lab **Stellar Absorption Lines** Change the gas temperature and velocity, then compare the absorption lines.](https://sandboxphysics.com/labs/stellar-absorption-lines/)
6. [Lab **Galaxy Colors and Photometric Redshift** Compare redshift, dust and stellar-population effects in the same five bands.](https://sandboxphysics.com/labs/galaxy-colors-photometric-redshift/)
7. [Lab **Stellar Interferometry and Sparse Imaging** Move a telescope and compare images fitted to the same sparse signals.](https://sandboxphysics.com/labs/stellar-interferometer/)
8. [Lab **Interstellar Radio Propagation** Change the electron column and field, then follow the arriving radio pulse.](https://sandboxphysics.com/labs/interstellar-radio-propagation/)

Observing cadence and aliases · Reading path

### Observing cadence and aliases

Articles on this path that use this experiment, followed by the other experiments they suggest.

1. [Article **Why a telescope can give a star the wrong period**](https://sandboxphysics.com/stories/observing-cadence/chosen-moments/)
2. [Article **Count the cycles between exposures**](https://sandboxphysics.com/stories/observing-cadence/sampling-windows/)
3. [Article **Fit a period and measure the risk of a false peak**](https://sandboxphysics.com/stories/observing-cadence/period-search/)
4. [Article **Search an observed OGLE variable star and count the aliases**](https://sandboxphysics.com/stories/observing-cadence/ogle-lightcurve/)
5. [Article **Follow an alert from first exposure to the next telescope**](https://sandboxphysics.com/stories/observing-cadence/alert-followup/)

Waves & optics · Starter path

## From one ray to interference measurement

Start with refraction, find where the ray picture stops working, then use interference to measure tiny distances.

[Start here → **Optical Boundary Explorer** Turn the incident angle and watch reflected and transmitted power trade off. Then switch to the critical-angle scene. Observe · 11 min](https://sandboxphysics.com/labs/optical-boundary-explorer/)

1. [1 Optical Boundary Explorer](https://sandboxphysics.com/labs/optical-boundary-explorer/)
2. [2 Rainbow Caustic Observatory](https://sandboxphysics.com/labs/rainbow-laboratory/)
3. [3 Camera Obscura](https://sandboxphysics.com/labs/camera-obscura/)
4. [4 Coherent Wave Composer](https://sandboxphysics.com/labs/coherent-wave-composer/)
5. [5 Young Double-Slit Bench](https://sandboxphysics.com/labs/young-double-slit-bench/)
6. [6 Michelson Precision Lab](https://sandboxphysics.com/labs/michelson-precision-lab/)

[View the full path →](https://sandboxphysics.com/topics/waves-and-optics/#starter-path)
