Transit period detection

From XuShuwenn/RedAct · View interactive version

Transit period detection is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Detect exoplanet orbital periods in light curves dominated by stellar variability using robust filtering, detrending, transit search, and alias checks.

How to use this skill

Skill file

Exoplanet Transit Period Detection in Stellar-Variable Light Curves

Recover planetary orbital periods from light curves with strong stellar variability (e.g., rotation and starspots) by combining quality filtering, outlier rejection, careful detrending, a transit-focused period search, and alias/harmonic validation.

When to Use

Use this skill when you need to:

Core Workflow

Follow these phases and checks. Compute from the provided data; do not guess values.

1) Load and Inspect

2) Quality Filtering and Outliers

3) Detrend Stellar Variability (Flattening)

Goal: remove long-timescale trends while preserving short, box-like transit dips.

4) Initial Transit Search (Broad Scan)

5) Candidate Validation and Alias Control

Perform these checks before refining:

6) Refinement (Narrow Scan)

7) Finalize and Output

Verification

Use these concrete checks before finalizing:

Common Pitfalls and How to Avoid Them

Optional Script Usage

The provided helper script implements a robust, resource-aware BLS workflow with detrending and alias checks.

Example usage:

Success criteria:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.