redback.analysis.fit_temperature_and_radius_gp

redback.analysis.fit_temperature_and_radius_gp(data, kernelT, kernelR, plot=False, **kwargs)[source]

Fit a Gaussian Process to the temperature and radius data

Parameters:
  • data – DataFrame containing the temperature and radius data output of the transient.estimate_bb_params method.

  • kernelT – george kernel for the temperature

  • kernelR – george kernel for the radius

  • plot – Whether to make a two-panel plot of the temperature and radius GP evolution and the data

  • kwargs – Additional keyword arguments

  • inflate_errors – If True, inflate the errors by 20%, default is False

Returns:

Temperature and radius GP objects and plot fig and axes if requested