lightkurve.FoldedLightCurve.odd_mask#

property FoldedLightCurve.odd_mask#

Boolean mask which flags the odd-numbered cycles (1, 3, 5, etc).

This is useful for studying every second occurence of a signal. For example, in exoplanet searches, comparisons of odd and even transits can help confirm the planetary nature of a signal. Differences in the depth, duration, or shape of the odd- and even-numbered transits would indicate that the ‘transits’ are being caused by a near-equal mass eclipsing background binary, rather than a true transiting exoplanet.

Examples

You can can visualize the odd- and even-centered transits separately as follows:

>>> f = lc.fold(...)  
>>> f[f.odd_mask].scatter()  
>>> f[f.even_mask].scatter()