hippke / tls

Transit Least Squares: An optimized transit-fitting algorithm to search for periodic transits of small planets
MIT License
48 stars 24 forks source link

Visualization of phase-folded model appears too shallow #14

Open hippke opened 5 years ago

hippke commented 5 years ago

Occasionally, the transit model light curve in the phase-folded plot appears to be too shallow. Examples: EPICs

Shifting the fitted transit depth down in 1% steps worsens the results.chi2_min monotonically. Therefore, the power spectrum (and SDE) appears to be correct. The error appears to be in the visualization only.

hippke commented 5 years ago

Apprently, the cause is a mismatch of transit signal shape and data. In phase space (each cadence after the other), the apparent depth is correct - too shallow near mid-transit, but too deep near ingress+egress. The visualization is not cadence by cadence, but folded with the correct time. Then, the visualization of the transit is different - the transit duration appears shorter.

hippke commented 5 years ago

Add pixel-perfect (cadence-perfect) visualization