pygmi.vector.equation_editor#
Equation editor for vector data.
Classes#
Equation Editor. |
Module Contents#
- class pygmi.vector.equation_editor.EquationEditor(parent=None)#
Bases:
pygmi.misc.BasicModuleEquation Editor.
This class allows the input of equations using raster datasets as variables. This is commonly done in remote sensing applications, where there is a requirement for band ratioing etc. It uses the numexpr library.
- Parameters:
parent – Reference to the parent routine. The default is None.
- equation#
String with the equation in it
- bands#
Dictionary of bands
- setupui()#
Set up UI.
- combo()#
Update combo information.
- settings(nodialog=False)#
Entry point into item.
- Parameters:
nodialog (
bool, optional) – Run settings without a dialog. The default is False.- Returns:
True if successful, False otherwise.
- Return type:
bool
- saveproj()#
Save project data from class.