light-curve-preprocessing

Preprocess astronomical light curves with outlier removal and trend flattening.

Updated Jan 15, 2026
One-click install
npx skills add https://github.com/KaiserWhoLearns/skillsbench --skill light-curve-preprocessing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: light-curve-preprocessing
Source: https://github.com/KaiserWhoLearns/skillsbench/tree/main/tasks/exoplanet-detection-period/environment/skills/light-curve-preprocessing
Command: npx skills add https://github.com/KaiserWhoLearns/skillsbench --skill light-curve-preprocessing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Preprocessing astronomical light curves to remove outliers, long-term trends, and data quality issues so they are ready for robust period analysis.

Core Features & Use Cases

  • Outlier removal using lightkurve methods to clean data.
  • Trend flattening to remove long-term instrumental and stellar variability.
  • Handling data quality flags and preserving important signals.
  • Optional removal of stellar variability for focused period searches.

Quick Start

Apply the preprocessing steps to your light curve data to obtain a cleaned, analysis-ready time series.

Frequently Asked Questions about light-curve-preprocessing

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

FAQPage Schema
How do I preprocess astronomical light curves for period analysis?

To preprocess astronomical light curves for period analysis, you can apply outlier removal, trend flattening, and quality-flag handling to time-series photometry from missions like Kepler, TESS, and ground-based surveys using lightkurve.

What is the best way to detrend light curves without removing short-duration transits?

Detrending light curves while preserving short-duration transits involves applying trend flattening to mitigate long-term instrumental and stellar variability, ensuring your period analysis retains important short-duration signals.

Does this light curve preprocessing work with TESS and Kepler data quality flags?

Yes, this light curve preprocessing handles data quality flags for TESS and Kepler missions, cleaning the time-series photometry by addressing data quality issues before you run period analysis.

Can I remove stellar variability from my time-series photometry before searching for periods?

You can optionally remove stellar variability from time-series photometry to focus your period searches, applying detrending and flattening techniques to isolate the specific signals you need for robust analysis.

Why does outlier removal matter when cleaning astronomical time-series data?

Outlier removal matters when cleaning astronomical time-series data because it eliminates anomalous data points that can distort trend flattening and period analysis, ensuring your light curves yield robust and accurate results.

When should I not use detrending on my light curve data?

You should avoid detrending light curve data when the long-term stellar variability itself is the target of your analysis, as flattening removes these trends and may inadvertently distort the signals you want to study.