def _score_frequency_grid(self, f0, df, N):
        if not self.silence_warnings and self.t.size < 50:
            warnings.warn("For smaller datasets, the approximation used by "
                          "LombScargleFast may not be suitable.\n"
                          "It is recommended to use LombScargle instead.\n"
                          "To silence this warning, set "
                          "``silence_warnings=True``")

        freq, P = lomb_scargle_fast(self.t, self.y, self.dy,
                                    f0=f0, df=df, Nf=N,
                                    center_data=self.center_data,
                                    fit_offset=self.fit_offset,
                                    use_fft=self.use_fft,
                                    **(self.ls_kwds or {}))
        return P
dataset/ETHPy150Open astroML/gatspy/gatspy/periodic/lomb_scargle_fast.py/LombScargleFast._score_frequency_grid/original