How deaththekid1614/exoplanet-2.0 works
This repository is a CPU-based TESS transit-detection pipeline: users provide TIC IDs, and the pipeline searches light curves, evaluates candidate evidence, classifies signals, estimates parameters, and produces results. The graph follows the documented stage order and includes the patched scoring/classification behavior and optional visualization. Stage-level execution links are documented in the README; implementation excerpts are partial, so unsampled details and uncertain internal calls are omitted.
Main entry points: run_pipeline.py Pipeline runner · stage1_preprocess.py Light-curve prep · stage2_detect.py Transit search · stage7_ensemble.py Result ensemble
Components 20
Pipeline entry
- Pipeline runner
run_pipeline.py - Configuration
tess_pipeline/config.py - Demo data
tess_pipeline/demo_data.py
Light-curve analysis
- Light-curve prep
tess_pipeline/stage1_preprocess.py - Processed curves
tess_pipeline/stage1_preprocess.py - Transit search
tess_pipeline/stage2_detect.py - Harmonic checks
tess_pipeline/harmonic/harmonic_analysis.py
Candidate assessment
- Stellar lookup
tess_pipeline/stage3_gaia.py - Physics checks
tess_pipeline/stage4_physics.py - ML classifier
tess_pipeline/stage5_classify.py - Patched scoring rules
patches/patch_scientific_validity.py - Supervised training
patches/patch_supervised_classifier.py - Parameter fitting
tess_pipeline/stage6_params.py - Result ensemble
tess_pipeline/stage7_ensemble.py
Results and review
- CSV results
run_pipeline.py - Visual reports
tess_pipeline/stage8_visualize.py - SHAP explanations
tess_pipeline/explainability/shap_explainer.py
Other components
- TIC ID user
- MAST / TESS
- Gaia / TIC data
Connections 23
- TIC ID user → Pipeline runner: provides TIC IDs
README.md - Pipeline runner → Configuration: loads settings
run_pipeline.py - Pipeline runner → Demo data: generates demo data
run_pipeline.py - Pipeline runner → Light-curve prep: runs stage 1
README.md - MAST / TESS → Light-curve prep: supplies light curves
README.md - Light-curve prep → Processed curves: saves curves
tess_pipeline/stage1_preprocess.py - Pipeline runner → Transit search: runs stage 2
README.md - Transit search → Light-curve prep: loads processed curves
tess_pipeline/stage2_detect.py - Transit search → Harmonic checks: checks aliases
tess_pipeline/stage2_detect.py - Pipeline runner → Stellar lookup: runs stage 3
README.md - Gaia / TIC data → Stellar lookup: provides star data
README.md - Pipeline runner → Physics checks: runs stage 4
README.md - Physics checks → Light-curve prep: loads curves
tess_pipeline/stage4_physics.py - Pipeline runner → ML classifier: runs stage 5
README.md - Pipeline runner → Parameter fitting: runs stage 6
README.md - Parameter fitting → Light-curve prep: loads curves
tess_pipeline/stage6_params.py - Pipeline runner → Result ensemble: runs stage 7
README.md - Patched scoring rules → ML classifier: patches classification
patches/patch_scientific_validity.py - Patched scoring rules → Result ensemble: combines physics and ML
patches/patch_scientific_validity.py - Supervised training → Result ensemble: computes combined score
patches/patch_supervised_classifier.py - Pipeline runner → CSV results: writes results
README.md - Pipeline runner → Visual reports: optionally runs stage 8
run_pipeline.py - Visual reports → Processed curves: loads curves
tess_pipeline/stage8_visualize.py