pygmi.em package¶
Submodules¶
pygmi.em.tdem module¶
Time Domain EM.
- class pygmi.em.tdem.MyMplCanvas2(parent=None)¶
Bases:
FigureCanvasQTAgg
MPL Canvas class.
- disp_wave(times, wave, title)¶
Display waveform.
- Parameters:
times (numpy array) – Times.
wave (numpy array) – Waveform amplitude.
title (str) – Title.
- Return type:
None.
- update_line(sigma, z, times_off, zobs, zpred)¶
Update the plot from data.
- Parameters:
sigma (numpy array) – Conductivity values.
z (numpy array) – Depth values.
times_off (numpy array) – Time.
zobs (numpy array) – Observed dBz/dt.
zpred (numpy array) – Predicted dBz/dt.
- Return type:
None.
- class pygmi.em.tdem.TDEM1D(parent=None)¶
Bases:
BasicModule
Occam 1D inversion.
- apply()¶
Invert the data.
- Return type:
None.
- change_line()¶
Combo to change line.
- Return type:
None.
- change_source()¶
Change Source.
- Return type:
None.
- disp_wave()¶
Display waveform.
- Return type:
None.
- get_wfile(filename='')¶
Get window time filename.
- Parameters:
filename (str, optional) – filename (txt). The default is ‘’.
- Return type:
None.
- saveproj()¶
Save project data from class.
- Return type:
None.
- settings(nodialog=False)¶
Entry point into item.
- Parameters:
nodialog (bool, optional) – Run settings without a dialog. The default is False.
- Returns:
True if successful, False otherwise.
- Return type:
bool
- update_wave()¶
Update waveform.
- Returns:
wform – Waveform.
- Return type:
tdem waveform.
- pygmi.em.tdem.tonumber(test, alttext=None)¶
Check if something is a number or matches alttext.
- Parameters:
test (str) – Text to test.
alttext (str, optional) – Alternate text to test. The default is None.
- Returns:
Returns a lower case version of alttext, or a number.
- Return type:
str or int or float
Module contents¶
EM Routines