is_period_cont

tessilator.lc_analysis.is_period_cont(d_target, d_cont, t_cont, frac_amp_cont=0.5)[source]

Identify neighbouring contaminants that may cause the periodicity.

If the user selects to measure periods for the neighbouring contaminants this function returns a flag to assess if a contaminant may actually be the source causing the observed periodicity.

Parameters:
d_targetdict

A dictionary containing periodogram data of the target star.

d_contdict

A dictionary containing periodogram data of the contaminant star.

t_contastropy.table.Table

A table containing Gaia data for the contaminant star

frac_amp_contfloat, optional, default=0.5

The threshold factor to account for the difference in amplitude of the two stars. If this is high, then the contaminants will be less likely to be flagged as the potential source

Returns:
outputstr
Either a, b or c.
(a) The contaminant is probably the source causing the periodicity
(b) The contaminant might be the source causing the periodicity
(c) The contaminant is not the source causing the periodicity