pygmi.pfmod.tab_param#

Parameter Display Tab Routines.

Classes#

MergeLith

Class to call up a dialog for ranged copying.

LithNotes

Class to call up a dialog for lithology descriptions.

ParamDisplay

Widget class to call the main interface.

Module Contents#

class pygmi.pfmod.tab_param.MergeLith(parent=None)#

Bases: PyQt6.QtWidgets.QDialog

Class to call up a dialog for ranged copying.

Parameters:

parent (parent, optional) – Reference to the parent routine. The default is None.

setupui()#

Set up UI.

Return type:

None.

class pygmi.pfmod.tab_param.LithNotes(parent=None)#

Bases: PyQt6.QtWidgets.QDialog

Class to call up a dialog for lithology descriptions.

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.

lw_index_change()#

List box in parameter tab for definitions.

Return type:

None.

tab_activate()#

Entry point.

Return type:

None.

class pygmi.pfmod.tab_param.ParamDisplay(parent=None)#

Bases: PyQt6.QtWidgets.QDialog

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.

add_defs(deftxt='', getcol=False, lmod=None)#

Add geophysical definitions and make them editable.

Parameters:
  • deftxt (str, optional) – Definition text. The default is ‘’.

  • getcol (bool, optional) – Get column. The default is False.

  • lmod (LithModel, optional) – 3D model. The default is None.

Return type:

None.

apply_lith()#

Apply lithological changes.

Return type:

None.

apply_changes()#

Apply geophysical properties.

Return type:

None.

change_rmi()#

Update spinboxes when rmi is changed.

Return type:

None.

change_magnetization()#

Update spinboxes when magnetization is changed.

Return type:

None.

change_qratio()#

Update spinboxes when qratio is changed.

Return type:

None.

disconnect_spin()#

Disconnect spin boxes.

Return type:

None.

connect_spin()#

Connect spin boxes.

Return type:

None.

change_defs(item)#

Change geophysical definitions.

Parameters:

item (QListWidget item) – Parameter definition QListWidget item.

Return type:

None.

get_lith()#

Get parameter definitions.

Returns:

lith – Lithology data.

Return type:

GeoData

init()#

Initialize parameters.

Return type:

None.

lw_color_change()#

Routine to allow lithologies to have their colors changed.

Return type:

None.

lw_index_change()#

List widget in parameter tab for definitions.

Return type:

None.

add_def()#

Add geophysical definition.

Return type:

None.

rem_defs()#

Remove geophysical definition.

Return type:

None.

merge_defs()#

Merge geophysical definitions.

Return type:

None.

rename_defs()#

Rename a definition.

Return type:

None.

set_lw_colors(lwidget, lmod=None)#

Set list widget colors.

Parameters:
  • lwidget (QListWidget) – Lithology list widget..

  • lmod (LithModel, optional) – 3D Model. The default is None.

Return type:

None.

tab_activate()#

Entry point.

Return type:

None.