Miscellaneous modules

Fourre-tout place of the model code.

Plotting utility module

Work in progress…

qgs.plotting.util.std_plot(x, mean, std, ax=None, **kwargs)[source]

Plot a mean and a standard deviation time series.

Parameters
  • x (ndarray) – 1D array of the x-axis values (usually time)

  • mean (ndarray) – 1D array of mean values to represent, should have the same shape as x.

  • std (ndarray) – 1D array of standard deviation values to represent, should have the same shape as mean.

  • ax (None or Axes) – A matplotlib axes instance to plot the values. If None, create one.

  • kwargs (dict) – Keyword arguments to be given to the plot routine.

Returns

The axes instance on which the values where plotted.

Return type

Axes