pygmi.pfmod.pfmod_param#
Parameter display routines for 3D modelling.
Classes#
Class to call up a dialog for ranged copying. |
|
Class to call up a dialog for lithology descriptions. |
|
Widget class to call the main interface. |
Module Contents#
- class pygmi.pfmod.pfmod_param.MergeLith(parent=None)#
Bases:
PySide6.QtWidgets.QDialogClass to call up a dialog for ranged copying.
- Parameters:
parent – Reference to the parent routine. The default is None.
- setupui()#
Set up UI.
- class pygmi.pfmod.pfmod_param.LithNotes(parent=None)#
Bases:
PySide6.QtWidgets.QDialogClass to call up a dialog for lithology descriptions.
- Parameters:
parent – Reference to the parent routine. The default is None.
- setupui()#
Set up UI.
- apply_changes()#
Apply changes.
- lw_index_change()#
List box in parameter tab for definitions.
- activate()#
Entry point.
- class pygmi.pfmod.pfmod_param.ParamDisplay(parent=None)#
Bases:
PySide6.QtWidgets.QDialogWidget class to call the main interface.
- Parameters:
parent – Reference to the parent routine. The default is None.
- setupui()#
Set up UI.
- add_defs(deftxt='', getcol=False, lmod=None)#
Add geophysical definitions and make them editable.
- Parameters:
deftxt (str) – Definition text. The default is ‘’.
getcol (bool) – Get column. The default is False.
lmod (pygmi.pfmod.datatypes.LithModel) – 3D model. The default is None.
- apply_lith()#
Apply lithological changes.
- apply_changes()#
Apply geophysical properties.
- change_rmi()#
Update spinboxes when rmi is changed.
- change_magnetization()#
Update spinboxes when magnetization is changed.
- change_qratio()#
Update spinboxes when qratio is changed.
- disconnect_spin()#
Disconnect spin boxes.
- connect_spin()#
Connect spin boxes.
- change_defs(item)#
Change geophysical definitions.
- Parameters:
item (
QListWidget item) – Parameter definition QListWidget item.
- get_lith()#
Get parameter definitions.
- Returns:
lith – Lithology data.
- Return type:
GeoData
- init()#
Initialize parameters.
- lw_color_change()#
Routine to allow lithologies to have their colors changed.
- lw_index_change()#
List widget in parameter tab for definitions.
- add_def()#
Add geophysical definition.
- rem_defs()#
Remove geophysical definition.
- merge_defs()#
Merge geophysical definitions.
- rename_defs()#
Rename a definition.
- set_lw_colors(lwidget, lmod=None)#
Set list widget colors.
- Parameters:
lwidget (PySide6.QtWidgets.QListWidget) – Lithology list widget.
lmod (pygmi.pfmod.datatypes.LithModel) – 3D Model. The default is None.
- activate()#
Entry point.