10.13.2 Properties of the input data
The processed input time series are the $G$, ${G}_{\mathrm{BP}}$, and ${G}_{\mathrm{RP}}$ time series obtained with the operators chain described in Section 10.2.3 and corresponding to the ExtremeErrorCleaningMagnitudeDependent tag. The different steps of the code require that for each transit, the $G$, ${G}_{\mathrm{BP}}$, and ${G}_{\mathrm{RP}}$ photometric measurements are simultaneously available. For this reason, we applied to the three time series a further filter that removes all transits in which one or two of the three photometric measurements are missing. The input sources were selected by adopting the following criteria:

1.
the $G$, ${G}_{\mathrm{BP}}$, and ${G}_{\mathrm{RP}}$ time series have a sampling that allows the extraction of subseries satisfying the condition in Equation 10.17;

2.
the relative parallax error is less than 0.2;

3.
the location of the star in the colourabsolute magnitude diagram is close to the latetype main sequence as identified by the following conditions:
$$\{\begin{array}{c}0.6\le ({G}_{\mathrm{BP}}{G}_{\mathrm{RP}})\le 1.7\hfill \\ {M}_{\mathrm{G}}\le 2.873+3.545({G}_{\mathrm{BP}}{G}_{\mathrm{RP}})\hfill \\ {M}_{\mathrm{G}}\ge 1.7225+2.572({G}_{\mathrm{BP}}{G}_{\mathrm{RP}})\hfill \end{array}$$ (10.14) or
$$\{\begin{array}{c}{G}_{\mathrm{BP}}{G}_{\mathrm{RP}}>1.7\hfill \\ {M}_{\mathrm{G}}\le 0.853+4.733({G}_{\mathrm{BP}}{G}_{\mathrm{RP}})\hfill \\ {M}_{\mathrm{G}}\ge 0.235+3.441({G}_{\mathrm{BP}}{G}_{\mathrm{RP}}).\hfill \end{array}$$ (10.15)
The first criterion ensures that each star has a sufficient number of photometric measurements to perform a period search in different segments of the time series, which is an effective strategy to take the AR evolution into account. The second and third criteria ensure that the analysed sample includes mainsequence stars and T Tauri stars of class II and III, as shown in Figure 10.29.