transit-least-squares

Detect exoplanet transits in stellar light curves using the TLS algorithm.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/3172973615/skill-explore --skill transit-least-squares-3172973615
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: transit-least-squares
Source: https://github.com/3172973615/skill-explore/tree/main/skillsbench_subset/tasks/exoplanet-detection-period/environment/skills/transit-least-squares
Command: npx skills add https://github.com/3172973615/skill-explore --skill transit-least-squares-3172973615

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TLS searches for periodic transit-like dips in brightness by fitting transit models at different periods, durations, and epochs to detect exoplanet transits in light curves.

Core Features & Use Cases

  • TLS is optimized for transit detection in light curves and uses actual transit models to improve sensitivity over generic periodogram methods.
  • Suitable for single or multi-planet searches in photometric time series from missions like Kepler/TESS.
  • Use case: identify a repeating dip in stellar brightness that matches a planet transit model and estimate period, depth, and epoch.

Quick Start

Provide time, flux, and flux_err arrays to TLS and run the power() method to search for transit signals.

Frequently Asked Questions about transit-least-squares

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

FAQPage Schema
How do I detect exoplanet transits in a light curve?

Detect exoplanet transits in a light curve by fitting physical transit models across different periods, durations, and epochs using TLS to identify repeating dips in stellar brightness. TLS searches for periodic transit-like signals in photometric time series.

How does TLS transit detection compare to generic periodogram methods?

TLS transit detection improves sensitivity over generic periodogram methods by fitting actual transit models to the light curve rather than relying on generic signal detection. This physical transit model fitting optimizes the identification of exoplanet transit signals.

Can I use TLS for multi-planet searches in Kepler or TESS data?

Yes, you can use TLS for single or multi-planet searches in photometric time series from missions like Kepler or TESS. It processes time, flux, and flux_err arrays to identify repeating transit-like dips in varied data quality scenarios.

What parameters do I need to run a TLS period search on stellar photometry?

To run a TLS period search, provide time, flux, and flux_err arrays and call the power() method. Optional parameters include period ranges, oversampling factors, and T0 margins to refine the transit signal detection.

What Python packages are required for transit least squares signal detection?

Transit least squares signal detection requires the Python packages transitleastsquares and lightkurve. Numpy and matplotlib are also needed for utility functions when processing the stellar light curves.

What transit parameters does TLS estimate from the light curve?

TLS estimates the period, depth, and epoch of a transiting planet from the light curve. It identifies a repeating dip in stellar brightness that matches a planet transit model to extract these specific physical parameters.