lightcurve_background¶
- gdt.core.plot.lib.lightcurve_background(backrates, ax, cent_color=None, err_color=None, cent_alpha=None, err_alpha=None, **kwargs)[source]¶
Plot a lightcurve background model with an error band.
- :param backrates (
BackgroundRatesor:BackgroundChannelRates): The background rates object integrated over energy. If there is more than one remaining energy channel, the background will be integrated over the remaining energy channels.
- Parameters:
ax (
matplotlib.axes) – The axis on which to plotcent_color (str) – Color of the centroid line
err_color (str) – Color of the errorband
cent_alpha (float) – Alpha of the centroid line
err_alpha (float) – Alpha of the errorband
**kwargs – Other plotting options
- Returns:
(list of matplotlib.lines.Line2D and matplotlib.collections.PolyCollection)
- :param backrates (