redback.plotting.plot_binned_count_lightcurve
- redback.plotting.plot_binned_count_lightcurve(binned=None, time_bins=None, counts=None, background=None, selection=None, rate=None, error=None, axes: Axes = None, filename: str = None, outdir: str = None, save: bool = True, show: bool = True, color: str = 'tab:blue', marker: str = 'o', markersize: float = 4.0, xscale: str = 'linear', yscale: str = 'linear', min_counts: int = None, annotate_min_counts: bool = True) Axes[source]
Plot count-rate light curve (counts/s vs time).
Inputs (ThreeML-like): - time_bins: bin edges - counts: counts per bin - background: background counts per bin (optional) - selection: boolean mask for bins (optional) Or provide a DataFrame via binned with columns:
time_start/time_end or time_center + dt, and counts.