Frequency Analysis#
Compute periodograms in period or frequency space for a light curve.
Overview#
This plugin exposes the periodogram (in period or frequency space) for an input light curve.
UI Access#
User API#
User API Example
See the FrequencyAnalysis user API documentation for more details.
import jdaviz as jd
import lcviz
from lightkurve import search_lightcurve
lc = search_lightcurve("HAT-P-11", mission="Kepler",
cadence="long", quarter=10).download().flatten()
jd.load(lc, format="Light Curve")
jd.show()
freq = jd.plugins['Frequency Analysis']
freq.open_in_tray()
freq.method = 'Lomb-Scargle'
freq.xunit = 'period'
periodogram = freq.periodogram
print(periodogram)
See also
This plugin uses the following lightkurve implementations:
lightkurve.periodogram.LombScarglePeriodogram.from_lightcurve()lightkurve.periodogram.BoxLeastSquaresPeriodogram.from_lightcurve()