src.plot.light_kpconv_layer_plot

Classes

LightKPConvLayerPlot(**kwargs)

class src.plot.light_kpconv_layer_plot.LightKPConvLayerPlot(**kwargs)
Author:

Alberto M. Esmoris Pena

Class to plot the insights of a light KPConv layer.

See LightKPConvLayerPlot and LightKPConvLayer.

Variables:
  • Q (np.ndarray) – The matrix representing the kernel’s structure.

  • W (np.ndarray) – The matrix representing the kernel’s weights.

  • A (np.ndarray) – The matrix representing the kernel’s scale factors.

  • Wpast (np.ndarray) – The matrices representing the kernel’s weights at a previous state.

  • sigma (float) – The influence distance of the kernel.

  • name (str) – The name of the layer containing the kernel.

__init__(**kwargs)

Initialize an instance of LightKPConvLayerPlot.

Parameters:

kwargs (dict) – The key-word arguments defining the plot’s attributes.

plot(**kwargs)

Plot the structure space, the matrix of weights, and the scale factors representing the kernel of the light KPConv layer.

See plot.Plot.plot().

plot_kernel_weights(W, plot_name, plot_title, **kwargs)

Plot the kernel’s weights.

Parameters:
  • W – The matrix representing the weights of the kernel.

  • plot_name – The name of the plot.

  • plot_title – The title of the plot.

  • kwargs – The key-word arguments.

Returns:

Nothing, but the plot is written to a file.

plot_scale_factors(A, plot_name, plot_title, **kwargs)

Plot the scale factors.

Parameters:
  • A (np.ndarray) – The matrix representing the scale factors.

  • plot_name – The name of the plot.

  • plot_title – The title of the plot.

  • kwargs – The key-word arguments.

Returns:

Nothing, but the plot is written to a file.