edges_analysis.plots.plot_time_average

edges_analysis.plots.plot_time_average(data: GSData, ax: Axes | None = None, logy=None, lst_min: float = 0, lst_max: float = 24, load: int = 0, pol: int = 0, attribute: str = 'data', offset: float = 0.0)[source]

Make a 1D plot of the time-averaged data.

Parameters:
  • data – The GSData object to plot.

  • ax – The axis to plot on. If None, a new axis is created.

  • logy – Whether to plot a logarithmic y-axis. If None, the y-axis is logarithmic if all the plotted data is positive.

  • lst_min – The minimum LST to average together.

  • lst_max – The maximum LST to average together.

  • load – The index of the load to plot (only one load is plotted).

  • pol – The polarization to plot (only one polarization is plotted).

  • attribute – The attribute to actually plot. Can be any attribute of the data object that has the same array shape as the primary data array. This includes “data”, “residuals”, “complete_flags”, “nsamples”.

  • offset – The offset to add to the data before plotting. Useful if plotting multiple averages on the same axis.