lomb-scargle-periodogram

Analyze unevenly sampled time series with Lomb-Scargle periodograms.

4|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill lomb-scargle-periodogram-generalreasoning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lomb-scargle-periodogram
Source: https://github.com/GeneralReasoning/env-skillsbench/tree/main/exoplanet-detection-period/environment/skills/lomb-scargle-periodogram
Command: npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill lomb-scargle-periodogram-generalreasoning

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Lomb-Scargle periodogram is the standard tool for finding periods in unevenly sampled astronomical time series data. It's particularly useful for detecting periodic signals in light curves from space missions like Kepler, K2, and TESS.

Core Features & Use Cases

  • Handle uneven sampling to identify periodic components in time series data
  • Plot periodograms and extract the strongest period
  • Provide quick modeling options to fit the detected period to time-series data

Quick Start

Input your time and flux arrays and run a periodogram to find the strongest period.

Frequently Asked Questions about lomb-scargle-periodogram

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect periodic signals in unevenly sampled astronomy time series?

To detect periodic signals in unevenly sampled time series, you compute a Lomb-Scargle periodogram using Python with lightkurve. This method identifies significant periodic components in irregularly sampled observations like stellar light curves, radial velocity, or eclipsing binary data.

What is a Lomb-Scargle periodogram used for in light curve analysis?

A Lomb-Scargle periodogram is the standard tool used for finding periods in unevenly sampled astronomical light curves. It identifies significant periodic signals to detect stellar rotation, pulsations, or eclipsing binaries in time series data from missions like Kepler, K2, and TESS.

How do I find the strongest period in an irregular time series using Python?

You find the strongest period in an irregular time series by inputting your time and flux arrays into a periodogram computation. Using Python with lightkurve and numpy, you can plot the periodogram and extract the peak value to model the detected period.

Can I use lightkurve to analyze unevenly sampled TESS or Kepler data?

Yes, you can use lightkurve to analyze unevenly sampled TESS or Kepler data. The library computes Lomb-Scargle periodograms specifically to handle uneven sampling in space mission light curves, allowing you to extract and model the strongest detected periods.

Do I need numpy and matplotlib to plot a periodogram for stellar rotation detection?

Yes, you need numpy and matplotlib alongside lightkurve to compute, plot, and model the periodogram for stellar rotation detection. These Python dependencies are required to visualize the periodogram and interpret the periodic signals in your time series data.

Why use a Lomb-Scargle periodogram instead of a standard Fourier transform for uneven time series?

You use a Lomb-Scargle periodogram instead of a standard Fourier transform because it is specifically designed to handle uneven sampling. Standard Fourier transforms require uniformly sampled data, whereas Lomb-Scargle accurately detects periodic signals in irregularly spaced astronomical observations.