fenestration.sampling.plot_coeffs#

fenestration.sampling.plot_coeffs(coeffs: ndarray, ncols: int = 5, ax_size: tuple[int, int] = (5, 5)) → Figure#

Plot interpolation coefficients.

Simple function to plot a bunch of interpolation coefficients on the same figure as stem plots

Parameters:
  • coeffs – the array of coefficients to transform sampled to full. In order to show fewer coefficients (because they’re so many), index along the first dimension (e.g., coeffs[:10] to view first 10)

  • ncols – the number of columns to create in the plot

  • ax_size – the size of each subplots axis

Returns:

fig – the figure containing the plot