ess.amor.figures.q_theta_figure#

ess.amor.figures.q_theta_figure(da, *, q_bins=None, theta_bins=None, **kwargs)[source]#

Creates a figure displaying a histogram over \(\theta\) and \(Q\).

The input can either be a single data array containing the data to display, or a sequence of data arrays.

The inputs must either have coordinates called “theta” and “Q”, or they must be histograms with dimensions “theta” and “Q”.

If theta_bins or q_bins are provided, they are used to construct the histogram. If not provided, the function uses the bin edges that already exist on the data arrays.

Parameters:
  • da (array or sequence of arrays) – Data arrays to display.

  • q_bins (array-like, optional) – Bins used to histogram the data in Q.

  • theta_bins (array-like, optional) – Bins used to histogram the data in theta.

Returns:

A Plopp figure displaying the histogram.