pygmi.mt.graphs#
Plot MT data using Matplotlib.
Classes#
Matplotlib canvas widget for the actual plot. |
|
Plot points class. |
|
Plot phase tensor. |
Module Contents#
- class pygmi.mt.graphs.MyMplCanvas(width=8, height=6, dpi=100)#
Bases:
matplotlib.backends.backend_qtagg.FigureCanvasQTAggMatplotlib canvas widget for the actual plot.
This routine will also allow the picking and movement of nodes of data.
- Parameters:
parent (PlotPoints, PlotPhaseTensor, optional) – Reference to the parent routine. The default is None.
- button_release_callback(event)#
Mouse button release callback.
- Parameters:
event (event) – event variable.
- Return type:
None.
- motion_notify_callback(event)#
Move mouse callback.
- Parameters:
event (event) – event variable.
- Return type:
None.
- onpick(event)#
Picker event.
- Parameters:
event (event) – event variable.
- Returns:
True if successful, False otherwise.
- Return type:
bool
- update_line(data, ival, itype)#
Update the plot from point data.
- Parameters:
data (EDI data object) – EDI data.
ival (str) – dictionary key.
itype (str) – dictionary key.
- Return type:
None.
- update_phase(edi_list, plot_freq, plot_tipper, ellipse_colorby, ellipse_size, asize, ahwidth, ahlength)#
Update the plot from point data.
- Parameters:
data (EDI data object) – EDI data.
ival (str) – dictionary key.
itype (str) – dictionary key.
- Return type:
None.
- class pygmi.mt.graphs.PlotPoints(parent=None)#
Bases:
pygmi.misc.ContextModulePlot points class.
- Parameters:
parent (pygmi.main.MainWidget, optional) – Reference to the parent routine. The default is None.
- change_band()#
Combo to choose band.
- Return type:
None.
- run()#
Entry point into the routine, used to run context menu item.
- Return type:
None.
- class pygmi.mt.graphs.PlotPhaseTensor(parent=None)#
Bases:
pygmi.misc.ContextModulePlot phase tensor.
- Parameters:
parent (pygmi.main.MainWidget, optional) – Reference to the parent routine. The default is None.
- reset_data()#
Reset data.
- Return type:
None.
- change_band()#
Combo to change band.
- Return type:
None.
- export()#
Export to shapefile.
- run()#
Entry point into the routine, used to run context menu item.
- Return type:
None.
- saveproj()#
Save project data from class.
- Return type:
None.