pygmi.pfmod.pfinvert#
Magnetic inversion using the SimPEG inversion library.
Classes#
MagInvert - GUI class for magnetic inversion. |
Module Contents#
- class pygmi.pfmod.pfinvert.MagInvert(parent=None)#
Bases:
pygmi.misc.BasicModule
MagInvert - GUI class for magnetic inversion.
- 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.
- settings(nodialog=False)#
Entry point.
- Return type:
None.
- saveproj()#
Save project data from class.
- Return type:
None.
- acceptall()#
Accept All.
Based on the SimPEG example.
- Return type:
None.