pygmi.pfmod.tab_mext#
Model Extents Display Routines.
Classes#
MextDisplay - Widget class to call the main interface. |
Module Contents#
- class pygmi.pfmod.tab_mext.MextDisplay(parent=None)#
Bases:
PyQt6.QtWidgets.QDialog
MextDisplay - Widget class to call the main interface.
- Parameters:
parent (parent, optional) – Reference to the parent routine. The default is None.
- setupui()#
Set up UI.
- Return type:
None.
- apply_changes()#
Apply changes.
- Return type:
None.
- choose_combo(combo, dtxt)#
Combo box choice routine.
- Parameters:
combo (QComboBox) – Combo box.
dtxt (str) – Text to describe new raster data entry.
- Return type:
None.
- choose_dtm()#
Combo box to choose current DTM.
- Return type:
None.
- choose_model()#
Choose model file.
- Return type:
None.
- extgrid(gdata)#
Extrapolates the grid to get rid of nulls.
Uses a masked grid.
- Parameters:
gdata (numpy array) – Raster dataset.
- Returns:
Output dataset.
- Return type:
numpy masked array
- get_area()#
Get current grid extents and parameters.
- Return type:
None.
- init()#
Initialise parameters.
- Return type:
None.
- upd_layers()#
Update layers.
- Return type:
None.
- update_model_combos()#
Update model combos.
- Return type:
None.
- update_combos()#
Update combos.
- Return type:
None.
- update_vals()#
Update the visible model extent parameters.
- Return type:
None.
- xycell(dxy)#
Adjust XY dimensions when cell size changes.
- Parameters:
dxy (float) – Cell dimension.
- Return type:
None.
- zcell(d_z)#
Adjust Z dimension when cell size changes.
- Parameters:
d_z (float) – Layer thickness.
- Return type:
None.
- tab_activate()#
Entry point.
- Return type:
None.