pygmi.raster.cliptozoom#
Clip to zoom.
This module allows a raster dataset to be clipped to the current zoomed extents.
Classes#
Clip to zoom GUI Class. |
Module Contents#
- class pygmi.raster.cliptozoom.ClipToZoom(parent=None)#
Bases:
pygmi.misc.BasicModuleClip to zoom GUI Class.
- Parameters:
parent – Reference to the parent routine. The default is None.
- change_band()#
Combo box to choose band.
- settings(nodialog=False)#
Entry point into item.
- Parameters:
nodialog (bool) – Run settings without a dialog. The default is False.
- Returns:
True if successful, False otherwise.
- Return type:
bool
- saveproj()#
Save project data from class.
- update_raster(data1, cmap)#
Update the raster plot.
- Parameters:
data1 (pygmi.raster.datatypes.Data) – Raster dataset to be used
cmap (str) – Matplotlib colormap description