exa.core.plotting.time_series.plot_time_series

exa.core.plotting.time_series.plot_time_series#

plot_time_series(observations, dut_fields, split_dut_field=<function decode_dut_field>, moving_average_number=3, save_path=None, resolution=300, show_uncertainty=True, plot_difference=False)#

Draw the time series for multiple DUT fields.

Time-series - a line plot shows the values of a specific observation over time.

Parameters:
  • observations (list[LocalObservation | ObservationData]) – The data to plot. These objects must have a created_timestamp.

  • dut_fields (list[str]) – Determines number of graphs.

  • split_dut_field (Callable[[str], tuple[str, str]]) – Method to extract the component and observation parameter names from the DUT field.

  • moving_average_number (int) – Number of points for the moving average.

  • save_path (None | Path) – Where to save the figure.

  • resolution (int) – In dpi for saving the figure.

  • show_uncertainty (bool) – Error bars will be shown.

  • plot_difference (bool) – Rather than absolute values.

Returns:

The Matplolib figure of the time series.

Return type:

Figure