pygmi.clust.graphs#
Routines to plot cluster data.
Classes#
Matplotlib canvas widget for the actual plot. |
|
Plot Raster Class GUI. |
|
Plot Bar Class GUI. |
|
Plot Fuzzy Membership data GUI. |
|
Plot VRC, NCE, OBJ and XBI GUI. |
Module Contents#
- class pygmi.clust.graphs.MyMplCanvas(parent=None)#
Bases:
matplotlib.backends.backend_qtagg.FigureCanvasQTAgg
Matplotlib canvas widget for the actual plot.
- Parameters:
parent (parent, optional) – Reference to the parent routine. The default is None.
- update_classes(data1)#
Update the class plot.
- Parameters:
data1 (pygmi.raster.datatypes.Data) – Input raster dataset.
- Return type:
None.
- update_bars(data1, rdata)#
Update the class plot.
- Parameters:
data1 (pygmi.raster.datatypes.Data) – Input raster dataset containing classes.
rdata (pygmi.raster.datatypes.Data) – Input raster dataset containing data.
- Return type:
None.
- update_scatter(x, y)#
Update the scatter plot.
- Parameters:
x (numpy array) – X coordinates (Number of classes).
y (numpy array) – Y Coordinates.
- Return type:
None.
- update_wireframe(x, y, z)#
Update the wireframe plot.
- Parameters:
x (numpy array) – Iteration number.
y (numpy array) – Number of classes.
z (numpy array) – z coordinate.
- Return type:
None.
- update_membership(data1, mem)#
Update membership plot.
- Parameters:
data1 (pygmi.raster.datatypes.Data) – Raster dataset.
mem (int) – Membership.
- Return type:
None.
- class pygmi.clust.graphs.PlotRaster(parent=None)#
Bases:
pygmi.misc.ContextModule
Plot Raster Class GUI.
- Parameters:
parent (parent, optional) – Reference to the parent routine. The default is None.
- change_band()#
Combo to change band.
- Return type:
None.
- run()#
Entry point into the routine, used to run context menu item.
- Return type:
None.
- class pygmi.clust.graphs.PlotBars(parent=None)#
Bases:
pygmi.misc.ContextModule
Plot Bar Class GUI.
- Parameters:
parent (parent, optional) – Reference to the parent routine. The default is None.
- change_band()#
Combo to change band.
- Return type:
None.
- run()#
Entry point into the routine, used to run context menu item.
- Return type:
None.
- class pygmi.clust.graphs.PlotMembership(parent=None)#
Bases:
pygmi.misc.ContextModule
Plot Fuzzy Membership data GUI.
- Parameters:
parent (parent, optional) – Reference to the parent routine. The default is None.
- change_band()#
Combo to change band.
- Return type:
None.
- run()#
Entry point into the routine, used to run context menu item.
- Return type:
None.
- change_band_two()#
Combo box to choose band.
- class pygmi.clust.graphs.PlotVRCetc(parent=None)#
Bases:
pygmi.misc.ContextModule
Plot VRC, NCE, OBJ and XBI GUI.
- Parameters:
parent (parent, optional) – Reference to the parent routine. The default is None.
- change_band()#
Combo to change band.
- Return type:
None.
- run()#
Entry point into the routine, used to run context menu item.
- Return type:
None.