pygmi.grav.iodefs#
Import Gravity Data.
Classes#
Import CG-5 data. |
Functions#
|
Get CG-5 filename and load data. |
|
Get GPS filename and load data. |
|
Import and merge GPS and gravity data. |
Module Contents#
- class pygmi.grav.iodefs.ImportCG5(parent)#
Bases:
pygmi.misc.BasicModule
Import CG-5 data.
This class imports CG-5 gravimeter data with associated GPS data.
- Parameters:
parent (parent) – Reference to the parent routine.
- setupui()#
Set up UI.
- 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
- saveproj()#
Save project data from class.
- Return type:
None.
- get_cg5(filename='')#
Get CG-5 filename and load data.
- Parameters:
filename (str, optional) – CG-5 filename submitted for testing. The default is ‘’.
- Return type:
None.
- get_gps(filename='')#
Get GPS filename and load data.
- Parameters:
filename (str, optional) – GPS filename (csv). The default is ‘’.
- Return type:
None.
- pygmi.grav.iodefs.get_cg5(filename)#
Get CG-5 filename and load data.
- Parameters:
filename (str) – CG-5 filename.
- Return type:
None.
- pygmi.grav.iodefs.get_gps(filename)#
Get GPS filename and load data.
- Parameters:
filename (str) – GPS filename (csv).
- Return type:
None.
- pygmi.grav.iodefs.merge_gpsmag(cg5file, gpsfile, basethres=10000.0, showlog=print)#
Import and merge GPS and gravity data.
- Parameters:
cg5file (str) – Gravity filename for data in CG-5 format.
gpsfile (str) – GPS filename in CSV format.
basethres (float, optional) – Threshold for base station numbers. The default is 10000.
showlog (function, optional) – Display information. The default is print.
- Returns:
Dataframe with merged data.
- Return type:
Pandas DataFrame