edges_cal.cal_coefficients.CalibrationObservation.plot_calibrated_temp
- CalibrationObservation.plot_calibrated_temp(load: Load | str, bins: int = 2, fig=None, ax=None, xlabel=True, ylabel=True, label: str = '', as_residuals: bool = False, load_in_title: bool = False, rms_in_label: bool = True)[source]
Make a plot of calibrated temperature for a given source.
- Parameters:
load (
LoadSpectrum
instance) – Source to plot.bins (int) – Number of bins to smooth over (std of Gaussian kernel)
fig (Figure) – Optionally provide a matplotlib figure to add to.
ax (Axis) – Optionally provide a matplotlib Axis to add to.
xlabel (bool) – Whether to write the x-axis label
ylabel (bool) – Whether to write the y-axis label
- Returns:
fig – The matplotlib figure that was created.