Periodogram

Constructor

Periodogram(frequency, power[, nyquist, …])

Generic class to represent a power spectrum (frequency vs power data).

LombScarglePeriodogram.from_lightcurve(lc[, …])

Creates a Periodogram from a LightCurve using the Lomb-Scargle method.

BoxLeastSquaresPeriodogram.from_lightcurve(lc, …)

Creates a Periodogram from a LightCurve using the Box Least Squares (BLS) method.

Attributes

Periodogram.frequency

The array of frequency values.

Periodogram.frequency_at_max_power

Frequency value corresponding to the highest peak in the periodogram.

Periodogram.period

The array of periods, i.e. 1/frequency.

Periodogram.period_at_max_power

Period value corresponding to the highest peak in the periodogram.

Periodogram.power

The array of power values.

Periodogram.max_power

Power of the highest peak in the periodogram.

Methods

Periodogram.bin([binsize, method])

Bins the power spectrum.

Periodogram.copy()

Returns a copy of the Periodogram object.

Periodogram.flatten([method, filter_width, …])

Estimates the Signal-To-Noise (SNR) spectrum by dividing out an estimate of the noise background.

Periodogram.plot([scale, ax, xlabel, …])

Plots the Periodogram.

Periodogram.show_properties()

Prints a summary of the non-callable attributes of the Periodogram object.

Periodogram.smooth([method, filter_width])

Smooths the power spectrum using the ‘boxkernel’ or ‘logmedian’ method.

Periodogram.to_seismology(**kwargs)

Returns a Seismology object to analyze the periodogram.

Periodogram.to_table()

Exports the Periodogram as an Astropy Table.