Evo tess lightcurve preprocessing

From OpenLAIR/OpenSkill · View interactive version

Evo tess lightcurve preprocessing is an AI agent skill from the GitHub repository OpenLAIR/OpenSkill. Load TESS text-format light curves and prepare them for transit detection by applying quality flag filtering, NaN removal, outlier rejection, normalization, and Savitzky-Golay flattening to remove stellar variability.

How to use this skill

Skill file

TESS Lightcurve Preprocessing

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-tess-lightcurve-preprocessing/scripts')
from utils import load_tess_lightcurve, filter_quality_and_nans, remove_outliers, estimate_rotation_period, flatten_lightcurve

time, flux, flux_err = load_tess_lightcurve('/root/data/tess_lc.txt')
time, flux, flux_err = filter_quality_and_nans(time, flux, flux_err, quality)
time, flux, flux_err = remove_outliers(time, flux, flux_err, sigma=5)
rot_p = estimate_rotation_period(time, flux)
time_f, flux_f = flatten_lightcurve(time, flux, window_length=0.5)

Key rules

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.