pygmi.clust.graphs#

Routines to plot cluster data.

Classes#

PlotRaster

Plot Raster Class GUI.

PlotBars

Plot Bar Class GUI.

PlotMembership

Plot Fuzzy Membership data GUI.

PlotVRCetc

Plot VRC, NCE, OBJ and XBI GUI.

Module Contents#

class pygmi.clust.graphs.PlotRaster(parent=None)#

Bases: pygmi.misc.ContextModule

Plot Raster Class GUI.

Parameters:

parent – Reference to the parent routine. The default is None.

change_band()#

Combo to change band.

run()#

Entry point into the routine, used to run context menu item.

update_classes(data1)#

Update the class plot.

Parameters:

data1 (pygmi.raster.datatypes.Data) – Input raster dataset.

class pygmi.clust.graphs.PlotBars(parent=None)#

Bases: pygmi.misc.ContextModule

Plot Bar Class GUI.

Parameters:

parent – Reference to the parent routine. The default is None.

change_band()#

Combo to change band.

run()#

Entry point into the routine, used to run context menu item.

update_bars(data1, rdata)#

Update the class plot.

Parameters:
class pygmi.clust.graphs.PlotMembership(parent=None)#

Bases: pygmi.misc.ContextModule

Plot Fuzzy Membership data GUI.

Parameters:

parent – Reference to the parent routine. The default is None.

change_band()#

Combo to change band.

run()#

Entry point into the routine, used to run context menu item.

change_band_two()#

Combo box to choose band.

update_membership(data1, mem)#

Update membership plot.

Parameters:
class pygmi.clust.graphs.PlotVRCetc(parent=None)#

Bases: pygmi.misc.ContextModule

Plot VRC, NCE, OBJ and XBI GUI.

Parameters:

parent – Reference to the parent routine. The default is None.

change_band()#

Combo to change band.

run()#

Entry point into the routine, used to run context menu item.

update_scatter(x, y)#

Update the scatter plot.

Parameters:
  • x (numpy.typing.NDArray) – X coordinates (Number of classes).

  • y (numpy.typing.NDArray) – Y Coordinates.

update_wireframe(x, y, z)#

Update the wireframe plot.

Parameters:
  • x (numpy.typing.NDArray) – Iteration number.

  • y (numpy.typing.NDArray) – Number of classes.

  • z (numpy.typing.NDArray) – z coordinate.