box-least-squares

Detects periodic transit signals in light curves using the BLAST algorithm.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detect periodic transit signals in stellar light curves.

Core Features & Use Cases

  • Transit detection using BLS periodogram to identify box-shaped dips in photometric data.
  • Parameter estimation for period, duration, depth, and reference transit time.
  • Validation: compute_stats to evaluate depth, SNR, and odd-even consistency; phase-fold visualization to confirm transit shape.
  • Comparative analysis: contrast BLS results with TLS or Lomb-Scargle for sensitivity and robustness.

Quick Start

Create a BoxLeastSquares model from time and flux data, run autopower with a chosen duration, and inspect the peak period to identify a transit candidate.

Frequently Asked Questions about box-least-squares

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

FAQPage Schema
How do I detect exoplanet transits in stellar light curves?

The BoxLeastSquares periodogram detects periodic transit signals in stellar light curves by identifying box-shaped dips in photometric time-series data, automatically searching across durations and periods to estimate optimal transit parameters.

What validation statistics can I compute for transit detection?

For transit detection validation, you can compute statistics via compute_stats to evaluate transit depth, signal-to-noise ratio, and odd-even consistency. These metrics help confirm whether a detected periodic dip is a genuine transit candidate or a false positive.

How does BoxLeastSquares compare to Lomb-Scargle for transit detection?

BoxLeastSquares specifically detects box-shaped transit dips in light curves, whereas Lomb-Scargle fits sinusoidal periodic signals. You can perform a comparative analysis of BLS results against Lomb-Scargle or TLS to assess sensitivity and robustness for your specific stellar data.

Do I need Astropy to run box least squares periodograms?

Yes, you need Astropy to run these box least squares periodograms because the Skill implements its transit detection logic directly on top of Astropy's BoxLeastSquares module to process time and flux data.

Can I use autopower to search for transit periods automatically?

Yes, you can use the autopower function to automatically search for transit periods by providing your time and flux data alongside a chosen transit duration, then inspecting the peak period in the resulting periodogram to identify transit candidates.

What should I check to avoid false positives in exoplanet transit searches?

To avoid false positives in exoplanet transit searches, you should use compute_stats to check odd-even consistency and signal-to-noise ratio, perform phase-fold visualization to confirm the transit shape, and follow provided guidance on period-grid choices and false-positive checks.