spitzer_variability

libra.spitzer_variability(times, seed=None)[source] [edit on github]

Mimic unidentified variability observed at 4.5 um in Spitzer.

Mimic the variability observed at 4.5 um in the Spitzer observations of TRAPPIST-1 from Delrez et al. 2018, by interpolating from a gaussian process fit to the observations with transits and flares removed..

Parameters:

times : ndarray

seed : int or float

random seed (can be specified for reproducibility)

Returns

——-

f : ndarray

Fluxes to be multiplied by your time series