Skip to main content
Sandbox Physics
Measure starlight in a crowded sky

AC02 · L1

Did the star really fade?

A star can look fainter because it emits less light, or because more of its image falls outside the circle used to measure it. Before counting starlight, astronomers have to ask which light in that circle belongs to the star.

One star covers several pixels

Photograph a distant lamp at night and it often becomes a small patch with a bright center and fading edges. A star makes a similar image. Its own angular size may be far too small to resolve, but the optics, atmosphere and detector spread its light. Astronomers call the shape of that patch the point-spread function, or PSF. It describes where light from a point source lands.

Draw a circle around the patch and add the pixels inside. That is the simplest way to measure its brightness. The circle is a photometric aperture: a selection on the image, distinct from the opening of the telescope. Increasing its radius collects more of the target light. Eventually there is little target light left outside.

Reading: Photutils 3.1.1, Aperture photometry

A circle can collect somebody else’s light

Place another star nearby. The edges of the two patches overlap first; then their centers become hard to distinguish. The target can remain perfectly steady while its aperture collects more light as the neighbor approaches. A subtler problem arises if the neighbor itself brightens. The circle around the target then brightens too, and a sum of pixels can assign the change to the wrong star.

A smaller circle rejects some neighboring light, but it also loses more of the target. To compensate, we need the fraction of target light inside. If the circle captures nine tenths, divide its background-subtracted count by nine tenths. This aperture correction compensates for the target’s missing light. Any neighbor light already inside is enlarged by the same division.

Two carefully corrected measurements can therefore disagree. Their hidden assumption was that all the remaining light belonged to the target.

Reading: Photutils 3.1.1, PSF photometry

A dark sky still sends photons

The space between stars has a background. Airglow, scattered light and the instrument can add a floor to the image. Summing a large circle counts that floor many times. A tiny error in the estimated background per pixel becomes a larger error when many pixels are included.

Subtracting the average background leaves its fluctuations behind. Photons arrive individually, and equal exposures do not receive exactly equal counts. This counting scatter is photon noise. A longer exposure usually makes the stellar signal clearer. Separating two overlapping stars also needs information about where their light lands.

Use the shape of both patches

Suppose we know the star positions and their image shapes. Guess a brightness for each, predict the light in every pixel, and adjust the two guesses until the whole image agrees. Pixels near one star tend to favor that star; pixels near the other favor its neighbor. The fit uses those clues together.

PSF fitting allows one pixel to contain light from both stars. When the patches are well separated, assigning the light is straightforward. When they nearly coincide, moving brightness from one star to the other can leave almost the same image. The resulting uncertainty should appear in the quoted error.

Real stellar images vary across a detector and are rarely perfect circles. Once random noise becomes small, an inaccurate profile or a misplaced center can dominate. Inspecting the pattern left after a fit is part of a careful measurement.

Reading: Photutils 3.1.1, PSF photometry

Turn individual images into a history

The TESS satellite repeatedly images the same sky to find small brightness changes. Its data include little pixel stamps around selected targets as well as ready-made light curves. Keeping the pixels lets a reader change the aperture and investigate a background or neighboring source.

The companion exercise freezes measured pixels of TIC 25155310, also called WASP-126. It retains uncertainties and quality flags. Following those images into a light curve makes the measurement choices tangible: the selected pixels and the background convention both matter.

Reading: MAST, Read and Display A TESS Target Pixel File

Try the prediction

Bring a neighbor into the circle

  1. Start with A star on its own and compare both measurement curves.
  2. Drag the amber star toward the cyan aperture. Predict which curve will first leave the white target flux.
  3. Widen only the blur and watch the fitted uncertainty increase.

Sources and calculation scope

  1. MAST, Read and Display A TESS Target Pixel File

    Target TIC 25155310, Sector 1, FITS columns and aperture bit 2. The frozen tutorial subset is extracted from this named product.

  2. Photutils 3.1.1, Aperture photometry

    Fractional aperture weighting, background subtraction and error propagation. The browser uses its own documented midpoint area quadrature.

  3. Photutils 3.1.1, PSF photometry

    Source grouping, fitted fluxes and the role of an accurate point-spread function. The teaching fit fixes both centroids and the Gaussian width.

FeedbackSomething broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy