power_spectrum

gadfly.power_spectrum(fluxes, d=60)[source]

Compute the power spectrum of fluxes in units of [ppm^2 / microHz].

Parameters
  • fluxes (ndarray) – Fluxes with zero mean.

  • d (float) – Time between samples [s].

Returns

  • freq (numpy.ndarray) – Frequencies

  • power (numpy.ndarray) – Power at each frequency in units of [ppm^2 / microHz]