Astronomy Olympiad / Level 2 · INAO / Data Analysis

Data Analysis · lesson 2 of 3 · 45 min

Periodic data: reading a period and fitting a sine curve

After this lesson you can:
  • Read a period from repeated features (peaks, troughs, crossings), measured across many cycles.
  • Find the amplitude and the mean level of a wave from its highest and lowest values.
  • Fold data on a trial period and fit y = y₀ + A sin(2πt/P + φ) by eye.
  • Spot when sparse sampling fakes a period (aliasing).

Before this lesson: Graphs by hand: scales, linearising and straight-line fits

INAO questions solved here: INAO 2019 Q7(a) · INAO 2019 Q7(d) · all INAO questions

1. Concept

Tides, a binary star’s velocity, a pulsating star’s brightness and a planet’s position in the sky all repeat. INAO hands over a table of such data and asks what it means. Four numbers describe a simple repeating signal:

y(t)=y0+Asin⁡ ⁣(2πtP+φ).y(t) = y_0 + A\sin\!\left(\frac{2\pi t}{P} + \varphi\right).

From the plotted curve:

A=ymax⁡−ymin⁡2,y0=ymax⁡+ymin⁡2,P=tN−t0N,A = \frac{y_{\max} - y_{\min}}{2}, \qquad y_0 = \frac{y_{\max} + y_{\min}}{2}, \qquad P = \frac{t_N - t_0}{N},

where t0t_0 and tNt_N are the times of a feature (say a peak) NN cycles apart.

Measure across many cycles

Each peak time has an error of, say, ±0.1\pm 0.1 day. If you measure one cycle, the period has that error. Measure ten cycles and divide by ten: the error is ten times smaller. Always use the first and last clear features, not neighbours.

Folding

When the data are scattered in time (a few nights here and there), work out the phase of each point for a trial period: the fractional part of (t−t0)/P(t - t_0)/P, a number from 0 to 1. Plot the data against phase. With the right period, the points fall on one clean curve; with a wrong period, they scatter. This is how astronomers find the periods of variable stars from irregular nights.

Traps. Calling the peak-to-trough range the amplitude (it is twice the amplitude). Measuring the period from one cycle. Forgetting the mean level: a radial-velocity curve that swings between +42 and −18 km/s has amplitude 30 km/s about a mean of +12 km/s, not 42.

Going deeper (Olympiad): aliasing

Sample too sparsely and you can see a period that is not there. The ocean tide repeats every 12 h 25 min. Measure the sea level at the same clock time every 12 hours and each reading is 25 minutes later in the tide’s cycle than the last, so the readings drift slowly through a whole cycle in about 15 days: a fake 15-day “period”. The true and false frequencies differ by the sampling frequency: 1/Pfake=∣1/12 h−1/Ptrue∣1/P_{\text{fake}} = |1/12\ \text{h} - 1/P_{\text{true}}|.

2. Explore it

Hourly tide heights on 23 September plotted from 00:00 to 23:00 with a smooth curve; there is a high tide of 0.79 m at 04:00, a low of 0.31 m at 10:00 and a higher high of 0.81 m at 17:00
Figure 1. A day of hourly tide heights (the data of INAO 2019, Question 7), with a smooth curve through them. Two high tides and one low are clear.

Look at the plot before computing anything. The two highs are 13 hours apart (04:00 and 17:00). With readings only once an hour, each peak time is uncertain by about half an hour, so this agrees with the true semidiurnal period of 12 h 25 min. The two highs are not equal: one tide a day is higher than the other, a sign that the Moon was away from the celestial equator.

3. Worked example

A star’s radial velocity peaks on days 2.1, 5.3, 8.6 and 11.8, reaching +42 km/s; its lowest value is −18 km/s. Find the period, the amplitude and the star’s own (mean) velocity.

Use the first and last peaks, three cycles apart:

P=11.8−2.13 d=3.23 d.P = \frac{11.8 - 2.1}{3}\ \text{d} = 3.23\ \text{d}. A=42−(−18)2 km/s=30 km/s,y0=42+(−18)2 km/s=+12 km/s.A = \frac{42 - (-18)}{2}\ \text{km/s} = 30\ \text{km/s}, \qquad y_0 = \frac{42 + (-18)}{2}\ \text{km/s} = +12\ \text{km/s}.

The star swings by ±30\pm 30 km/s about a mean of +12 km/s: it orbits a companion every 3.23 days while the pair as a whole moves away from us at 12 km/s. (The lesson on binary stars turns PP and AA into masses.)

4. From a past paper

INAO 2019, Question 7 (a) and (d) (official paper: HBCSE). On 23 September, someone stranded on an island measures the tide height every hour (the data of Figure 1). (a) Plot the data. (d) Days later, having lost track of time, they take a second set of readings, but only now and then:

Time 00:00 01:00 02:00 03:00 07:00 08:00 09:00 10:00
Height (m) 1.014 1.079 1.033 0.905 0.255 0.235 0.322 0.445
Time 12:00 13:00 14:00 18:00 19:00 20:00 21:00 23:00
Height (m) 0.748 0.855 0.844 0.279 0.213 0.203 0.307 0.682

Estimate the height at 16:00 by plotting these readings on the same graph.

Our solution.

(a) Time (0 to 24 h) on the horizontal axis at 2 h per 2 cm; height (0.2 to 1.2 m) on the vertical axis at 0.1 m per 2 cm, so both data sets fit. Mark the 24 points and draw one smooth curve (Figure 1). Read off: a high of 0.79 m at about 04:00, a low of 0.31 m at about 10:00, a higher high of 0.81 m at about 17:00. These times are what the tide lesson uses to find where the Moon was.

(d) Plot the new points. Highs at about 01:00 (1.08 m) and 13:00 to 14:00 (0.85 m), lows at about 08:00 and 20:00 (near 0.2 m): the same twice-daily rhythm, with a bigger range than on 23 September. There is no reading between 14:00 (0.844 m) and 18:00 (0.279 m), but between a high and the next low the curve is close to a straight line, so

h(16:00)≈0.844+0.2792 m=0.56 m,h(16{:}00) \approx \frac{0.844 + 0.279}{2}\ \text{m} = 0.56\ \text{m},

which agrees with the official solution. A sine curve drawn through the neighbouring points gives the same value within a few centimetres.

Parts (b), (c) and (e) turn the times of high tide into the positions of the Sun and Moon and the date; they are solved in the lesson Tides from data in the Solar System unit.

5. Quick check

Q1. A variable star's brightness peaks at days 0.8, 6.2, 11.7, 17.1 and 22.6. What is its period, in days?

Q2. A curve swings between a highest value of 9.0 and a lowest of 3.0. What is its amplitude?

Q3. You fold scattered measurements of a star on a trial period and the points scatter all over the phase plot. What does this tell you?

Q4. A tide with period 12.42 h is measured once every 12.00 h. What false period, in days, will the readings seem to show?

6. Next