1. Home
  2. Explore
  3. Astronomy
  4. Finding Exoplanets with TESS

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Finding Exoplanets with TESS

Speaker 1Speaker 2

Finding Exoplanets with TESS

10:28
0:00-10:28
  1. Anna

    Welcome! Today we’re learning how to find an exoplanet transit in data from TESS, NASA’s Transiting Exoplanet Survey Satellite. The key idea is that when a planet passes in front of its star from our viewpoint, the star appears to dim briefly. That dip in a star’s measured brightness is called a transit.

  2. Corey

    And that small dip is useful because a light curve—a record of brightness over time—can reveal evidence of a planet crossing its star. With transit data, we can derive information about the planetary system. We’ll use the Python package Lightkurve to access and analyze TESS observations.

  3. Anna

    First, a little context about TESS. It’s a NASA-sponsored Astrophysics Explorer-class mission that surveys the sky for planets transiting nearby stars. Its elliptical high-Earth orbit gives it a largely unobstructed view and supports continuous observations and a stable platform for precise photometry.

  4. Corey

    TESS has four CCD cameras, whose adjacent fields of view combine into a viewing area about 26 by 24 degrees. The mission observes the sky in sectors, each for about 27 days. Since beginning in 2018, TESS has mapped roughly 80 percent of the northern and southern sky and identified thousands of planetary candidates.

  5. Anna

    TESS data are publicly available through the MAST Archive. The mission produces three main kinds of data products. Full-frame images, or FFIs, cover a large area of the sky; target pixel files are cutouts centered on selected targets; and light-curve files contain time-series brightness measurements.

  6. Corey

    The cadence—the time between measurements—depends on the product and mission period. FFIs had a cadence of about 30 minutes in the first two years and about 10 minutes in years three and four; the change begins around sector 27. Target pixel files can have two-minute or 20-second cadence, and light-curve files are produced for selected targets with those cadences.

  7. Anna

    This tutorial assumes basic familiarity with Python and astronomy. It uses Lightkurve, along with NumPy and Matplotlib, to work with brightness time series. Lightkurve is designed to support analysis of Kepler and TESS data, and it can also be used with light curves from backyard telescopes.

  8. Corey

    You can run the code in a Jupyter notebook or adapt it to a Python script. If you’re new to notebooks, the tutorial also describes using a Google Colab notebook with a Google account. In Colab, a setup line installs Lightkurve on the server so you can run the notebook there.

  9. Anna

    Lightkurve provides different search functions for the different TESS products. Use search_tesscut for cutouts from full-frame images, search_targetpixelfile for target pixel files, and search_lightcurve for archived light curves. These searches help you see which observations are available for a target.

  10. Corey

    The example target is the nearby bright star Pi Mensae. It has a short-period planet called Pi Mensae c, with an orbital period of about 6.27 days. The tutorial searches for its observations so we can follow the planet’s transit through the data.

  11. Anna

    When you inspect search results, pay attention to the sector, year, exposure time, target name, and other identifying information. For the FFI results, the table shows which sectors observed the star and the cadence of those observations. The tutorial notes that the FFI cadence changes from about 30 minutes to 10 minutes in sectors 27 and above.

  12. Corey

    The target-pixel and light-curve searches can return multiple kinds of products. Some results are from the SPOC, the Science Processing Operations Center at NASA Ames, and the target may have both two-minute and 20-second observations. The tutorial focuses on SPOC light curves with a two-minute cadence.

  13. Anna

    Once you’ve filtered the search by target, author, and exposure time, you can download the matching light curves. Lightkurve returns a collection of light-curve objects, and each object includes information such as its sector and data source. You can select an individual observation—for example, the first result in the collection, corresponding to sector one in this example.

  14. Corey

    A light-curve table includes time, flux, flux uncertainty, and other information such as cadence numbers and timing corrections. Two flux columns deserve special attention: SAP flux and PDCSAP flux. Understanding the difference helps you choose a useful starting point for analysis.

  15. Anna

    SAP means Simple Aperture Photometry. It’s calculated by adding the brightness of pixels inside an aperture selected for the observation. That aperture is often called the optimal aperture, but the resulting light curve can still contain artifacts from spacecraft motion, noise, and other instrumental effects.

  16. Corey

    PDCSAP means Pre-search Data Conditioning SAP. It starts with SAP flux and removes long-term trends using co-trending basis vectors. As a result, PDCSAP is often a cleaner light curve with fewer systematic trends. If it’s available, it can be a convenient starting point, especially for a first analysis.

  17. Anna

    You can plot either flux column with Lightkurve. Comparing them shows why the distinction matters: in the example, the SAP curve has noticeable trends and variations, while PDCSAP is much flatter. But even a processed curve can need more preparation before a transit stands out.

  18. Corey

    Lightkurve includes tools for manipulating light curves, including flattening, removing outliers, binning, and folding. The tutorial starts with PDCSAP, flattens the curve to reduce broad variations, and then masks a particularly noisy section associated with jitter in the spacecraft.

  19. Anna

    After applying the mask, the tutorial plots the original and masked curves together to check that the bad region was excluded. It then removes outliers. Those checks are important: rather than assuming a cleanup step worked, compare the data before and after it.

  20. Corey

    At this point, the transit may still be hard to see in the time series. The known orbital period gives us a way to line up repeated events. Folding the light curve at Pi Mensae c’s period—about 6.27 days—and using an epoch time brings observations from different orbits onto the same phase.

  21. Anna

    Folding effectively lets you compare the star’s brightness at corresponding points in each orbit. If a transit repeats, the dips can align in the folded curve. The tutorial then bins the folded data; binning groups measurements, making the pattern clearer and reducing some of the scatter in the plotted points.

  22. Corey

    With the cleaned, folded, and binned light curve, the transit of Pi Mensae c becomes visible. That’s the core result: use TESS observations and Lightkurve to find the repeating brightness dip associated with a planet passing in front of its star.

  23. Anna

    But what if the archive doesn’t have a light-curve file for your target, or you only have SAP flux? The tutorial demonstrates another route using sector-one full-frame data. Because an FFI covers a much larger area than the target, you can request a small cutout—here, a ten-by-ten-pixel region around Pi Mensae.

  24. Corey

    After downloading the cutout, plot it to confirm that the target is in the image. Unlike the pre-made light-curve product, this cutout doesn’t come with a defined aperture for extracting the star’s brightness. So you need to choose which pixels to include.

  25. Anna

    Aperture choice can involve blending and other effects, so it matters which pixels you sum. In this example, the tutorial uses a threshold mask: it selects pixels according to their flux relative to a chosen threshold. The example threshold is 10, producing an aperture of 18 pixels, which is then plotted to check that it covers the target.

  26. Corey

    Once the aperture is defined, Lightkurve’s to_lightcurve function sums the selected pixels in each image to create a time series. That gives you a SAP light curve from the cutout. At first, it looks scattered and the transit isn’t obvious, so the next step is to address noise and trends.

  27. Anna

    The tutorial first masks the section affected by spacecraft jitter, as before, and bins the data to reduce scatter. But a long-term trend remains. For this example, it uses Lightkurve’s PLD corrector, where PLD stands for pixel-level decorrelation.

  28. Corey

    PLD is used to model systematic trends, including those caused by small spacecraft motions. It identifies trends in pixels surrounding the target and uses linear regression to combine them into a model of the systematic noise. That model is then subtracted from the uncorrected light curve.

  29. Anna

    The example applies PLD to the masked data using the target aperture, with three PCA components so the correction doesn’t overcorrect the signal. Lightkurve can show a diagnostic plot with the original light curve, the fitted background that gets removed, and the spline applied during the correction.

  30. Corey

    Comparing the result with the original makes the correction easier to evaluate. In the tutorial, the corrected SAP curve looks flatter after the jitter mask and PLD correction. It’s still a different, noisier data set than the archived light-curve product, but it’s now more suitable for looking for the transit.

  31. Anna

    From there, the workflow is familiar: flatten the corrected curve and fold it using the same period and epoch used for the archived light curve. The transit appears in the FFI-derived data too, although it’s less clear, in part because the FFI observations have a longer cadence.

  32. Corey

    The tutorial compares the two results: the archived light-curve data show the transit more cleanly, and the corrected FFI data show a similar feature. That comparison is a useful check that the transit isn’t just an artifact of one particular data product or processing route.

  33. Anna

    So the overall workflow is: search for TESS observations, choose the appropriate product, inspect the flux, clean and mask problematic data, and use a known period to fold the light curve. If you’re working directly from an FFI cutout, define an aperture and consider PLD correction before searching for the transit.

  34. Corey

    And this is only a starting point. The tutorial points learners to the Lightkurve tutorial page and the TESS Guest Investigator data-products resources, including a set of seven tutorials. For questions about TESS, it gives the contact address tesshelp@bigbang.gsfc.nasa.gov.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent