API Reference#

gadfly Package#

Functions#

plot_power_spectrum([ax, kernel, obs, freq, ...])

Plot a power spectrum.

Classes#

Filter(identifier_or_filter[, download])

Convenience subclass for the tynt API for photometric filter transmittance curves.

GaussianProcess(kernel[, t, mean, light_curve])

The gadfly interface to the celerite2 Gaussian Process (GP) solver.

Hyperparameters(hyperparameters[, name, ...])

Gaussian process hyperparameters for approximating the total stellar irradiance power spectrum.

PowerSpectrum(frequency, power[, error, ...])

An observed power spectrum.

ShotNoiseKernel(*args[, name])

A subclass of SHOTerm which approximates shot noise in Kepler observations, for example.

SolarOscillatorKernel([texp, delta, ...])

Like a StellarOscillatorKernel, but initialized with the default solar SOHO VIRGO/PMO6 kernel hyperparameters.

StellarOscillatorKernel([hyperparameters, ...])

A sum of SHOTerm simple harmonic oscillator kernels generated by gadfly to approximate the total solar irradiance power spectrum.

Class Inheritance Diagram#

Inheritance diagram of gadfly.core.Filter, gadfly.gp.GaussianProcess, gadfly.core.Hyperparameters, gadfly.psd.PowerSpectrum, gadfly.core.ShotNoiseKernel, gadfly.core.SolarOscillatorKernel, gadfly.core.StellarOscillatorKernel

gadfly.scale Module#

Functions#

p_mode_amplitudes(mass, radius, temperature, ...)

p-mode oscillation power amplitudes.

delta_nu(mass, radius)

Large frequency separation scaling.

nu_max(mass, temperature, radius)

Frequency of maximum power.

tau_eff(nu_max)

Characteristic granulation timescale.

tau_gran(mass, temperature, luminosity)

Granulation timescale scaling.

granulation_amplitude(mass, temperature, ...)

Granulation amplitude scaling.

c_K(temperature)

Bolometric correction factor as a function of effective temperature.

amplitude_with_wavelength(filter, temperature)

Scale power spectral feature amplitudes with wavelength and stellar effective temperature, compared to their amplitudes when observed with SOHO VIRGO/PMO6.