PhaseCurve

class kelp.PhaseCurve(xi, flux, flux_err=None, name=None, channel=None, year=None, renormalize=False)[source] [edit on github]

Bases: object

Thermal phase curve.

Parameters:
xindarray

Times

fluxndarray

Flux measurements

flux_errndarray

Flux errors

namestr

Name of the host star

channelstr

Name of the Spitzer channel

yearint

Year of the observations (for disambiguating)

renormalizebool

Re-normalize the phase curve such that it is represented as \(F_p/F_s\), in units of ppm

Attributes Summary

available

fits_file

Methods Summary

from_name(name, channel[, year])

Initialize a Filter instance from the filter name.

plot([ax, mask])

Plot the phase curve.

Attributes Documentation

available = []
fits_file = None

Methods Documentation

classmethod from_name(name, channel, year=None)[source] [edit on github]

Initialize a Filter instance from the filter name.

Parameters:
namestr (i.e.: “WASP-18”, “KELT-9”)

Name of the host star

channelstr (i.e.: “1” or “2”)

Name of the filter (IRAC channel number)

yearint

Year of the observations (when multiple observations are available)

plot(ax=None, mask=None, **kwargs)[source] [edit on github]

Plot the phase curve.

Parameters:
axAxes

Matplotlib axis object

kwargsdict

Dictionary passed to the plot command

Returns:
axAxes

Updated axis object