GXTC class¶
- class GXTC(handle=0)[source]¶
GXTC class.
The
GXTC
object is used in gravitational modelling to create a terrain correction grid from a topography grid. This is accomplished with a call first togrregter
, which determines the terrain correction from an input topography grid, then togrterain
, which calculates the actual corrections at the input positions.- classmethod create(img, elev_unit, dinner, douter, dens_t, dens_w, elev_w, edge, edge_elev, opt)[source]¶
Creates a Terrain Correction object
- Parameters:
img (GXIMG) – Topo (DEM) grid
elev_unit (float) – Elevation unit in 1 metre (i.e. 0.3048 for feet)
dinner (float) – Inner distance (in topo grid projection units, default in metres)
douter (float) – Outer distance (in topo grid projection units, default in metres)
dens_t (float) – Terrain density in g/cc
dens_w (float) – Water density in g/cc
elev_w (float) – Water reference elevation (in elevation unit)
edge (int) – 1 to calculate an edge correction (compensation), 0 otherwise
edge_elev (float) – Average elevation beyond max distance (in elevation unit)
opt (int) – TC_OPT constants
- Returns:
GXTC
Object- Return type:
New in version 5.0.
License: Geosoft Extended End-User License
- classmethod create_ex(img, elev_unit, dinner, douter, dens_t, dens_w, elev_w, edge, edge_elev, opt, survey_type)[source]¶
Creates a Terrain Correction object with surveytype
- Parameters:
img (GXIMG) – Topo (DEM) grid
elev_unit (float) – Elevation unit in 1 metre (i.e. 0.3048 for feet)
dinner (float) – Inner distance (in topo grid projection units, default in metres)
douter (float) – Outer distance (in topo grid projection units, default in metres)
dens_t (float) – Terrain density in g/cc
dens_w (float) – Water density in g/cc
elev_w (float) – Water reference elevation (in elevation unit)
edge (int) – 1 to calculate an edge correction (compensation), 0 otherwise
edge_elev (float) – Average elevation beyond max distance (in elevation unit)
opt (int) – TC_OPT constants
survey_type (int) – TC_SURVEYTYPE constants
- Returns:
GXTC
Object- Return type:
New in version 6.2.
License: Geosoft Extended End-User License
- classmethod create_ex2(img, elev_unit, dinner, douter, dens_t, dens_w, elev_w, edge, edge_elev, opt, survey_type, img2)[source]¶
Creates a Terrain Correction object with surveytype and topo surface elevation grid
- Parameters:
img (GXIMG) – Topo (Rock Surface DEM) grid
elev_unit (float) – Elevation unit in 1 metre (i.e. 0.3048 for feet)
dinner (float) – Inner distance (in topo grid projection units, default in metres)
douter (float) – Outer distance (in topo grid projection units, default in metres)
dens_t (float) – Terrain density in g/cc
dens_w (float) – Water density in g/cc
elev_w (float) – Water reference elevation (in elevation unit)
edge (int) – 1 to calculate an edge correction (compensation), 0 otherwise
edge_elev (float) – Average elevation beyond max distance (in elevation unit)
opt (int) – TC_OPT constants
survey_type (int) – TC_SURVEYTYPE constants
img2 (GXIMG) – Topo (Elev Surface DEM) grid
- Returns:
GXTC
Object- Return type:
New in version 9.9.
License: Geosoft Extended End-User License
- g_gterain(gv_vx, p3, p4, p5, p6, p7, p8)[source]¶
Calculate GG terrain corrections
- Parameters:
gv_vx (GXVV) – Input X channel data (in topo grid projection units, default in metres)
p3 (GXVV) – Input Y channel data (in topo grid projection units, default in metres)
p4 (GXVV) – Input Elevation channel data (in elevation unit)
p5 (GXVV) – Output Terrain Corrected channel data
p6 (float) – Terrain density (default 2.67)
p7 (float) – Terrain reference level (default 0.0)
p8 (int) – GG_ELEMENT constants
New in version 6.0.
License: Geosoft Extended End-User License
- grregter(im_gi, im_go)[source]¶
Create a terrain correction grid for a topo grid.
- Parameters:
New in version 5.0.
License: Geosoft Extended End-User License
- grterain(gv_vx, gv_vy, gv_velev, gv_vslop, gv_vtcor, im_gcor, dens_t)[source]¶
Calculate terrain corrections.
- Parameters:
gv_vx (GXVV) – Input X channel data (in topo grid projection units, default in metres)
gv_vy (GXVV) – Input Y channel data (in topo grid projection units, default in metres)
gv_velev (GXVV) – Input Elevation channel data (in elevation unit)
gv_vslop (GXVV) – Input slope channel data
gv_vtcor (GXVV) – Output Terrain Corrected channel data
im_gcor (GXIMG) – Image of input correction grid
dens_t (float) – Terrain density (default 2.67)
New in version 5.0.
License: Geosoft Extended End-User License
- grterain2(gv_vx, gv_vy, gv_velev, gv_vslop, gv_vwater, gv_vtcor, im_gcor, dens_t)[source]¶
Calculate terrain corrections (work for marine gravity too).
- Parameters:
gv_vx (GXVV) – Input X channel data (in topo grid projection units, default in metres)
gv_vy (GXVV) – Input Y channel data (in topo grid projection units, default in metres)
gv_velev (GXVV) – Input Elevation channel data (in elevation unit)
gv_vslop (GXVV) – Input slope channel data
gv_vwater (GXVV) – Input Water depth channel data (in metres)
gv_vtcor (GXVV) – Output Terrain Corrected channel data
im_gcor (GXIMG) – Image of input correction grid
dens_t (float) – Terrain density (default 2.67)
New in version 6.0.
License: Geosoft Extended End-User License
TC_OPT constants¶
Optimization
TC_SURVEYTYPE constants¶
Survey Type
GG_ELEMENT constants¶
GG element