GXEUL3 class

class GXEUL3(handle=0)[source]

GXEUL3 class.

This is a specialized class which performs 3D Euler deconvolution for potential field interpretation.

__init__(handle=0)[source]

Initialize self. See help(type(self)) for accurate signature.

classmethod creat(imgt, imgtx, imgty, imgtz, wnd_siz, gi, tolrnc, max_dis, obs_flg, obs_hght, obs_elev)[source]

Creates an GXEUL3 object.

Parameters
  • imgt (GXIMG) – Image of grid T

  • imgtx (GXIMG) – Image of grid Tx

  • imgty (GXIMG) – Image of grid Ty

  • imgtz (GXIMG) – Image of grid Tz

  • wnd_siz (int) – Window size (maximum 20)

  • gi (float) – Geometric index, from 0.0 to 3.0

  • tolrnc (float) – Max tolerance to allow (percentage)

  • max_dis (float) – Max dist. acceptable (0 for infinite)

  • obs_flg (int) – ObsFlg Height (0) or Elevation (1)

  • obs_hght (float) – Height of observation plane

  • obs_elev (float) – Elevation of observation plane

Returns

GXEUL3 Object

Return type

GXEUL3

New in version 5.0.

License: Geosoft Extended End-User License

destr()[source]

Destroys a GXEUL3 object.

New in version 5.0.

License: Geosoft Extended End-User License

classmethod ex_euler_calc(typ, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20)[source]

Does the exeuler depth calculations

Parameters
  • typ (int) – Solution type flag (0 for contacts, 1 for dykes)

  • p2 (float) – Structural index value (used only when generating dykes)

  • p3 (int) – Window length

  • p4 (float) – Field strength in nT

  • p5 (float) – Inclination

  • p6 (float) – Declination

  • p7 (float) – Profile azimuth wrt north

  • p8 (float) – Minimum depth for returned solutions

  • p9 (float) – Maximum depth for returned solutions

  • p10 (float) – Percentage error allowed before rejection

  • p11 (int) – Number of points in profile

  • p12 (GXVV) – Array of point distances along profile

  • p13 (GXVV) – Array of observed values

  • p14 (GXVV) – Array of horizontal derivative values. Can be NULL for calculated

  • p15 (GXVV) – Array of vertical derivative values. Can be NULL for calculated

  • p16 (int) – Length of solutions arrays passed in

  • p17 (GXVV) – The profile distance for each solution

  • p18 (GXVV) – The depth for each solution

  • p19 (GXVV) – The dip for each solution

  • p20 (GXVV) – The susceptibility for each solution

Returns

>0 for OK, -1 for Error

Return type

int

New in version 9.0.

License: Geosoft Extended End-User License

classmethod ex_euler_derive(vv_dist, pr_dx, vv_mag, length, vv_gx, vv_gz, max_sol)[source]

Calculates gradients

Parameters
  • vv_dist (GXVV) – Input distance

  • pr_dx (float) – Sample Interval

  • vv_mag (GXVV) – Input mag

  • length (int) – SampleCount

  • vv_gx (GXVV) – Horizontal Gradient out

  • vv_gz (GXVV) – Vertical Gradient out

  • max_sol (int) – Output array size limit

Returns

0 for OK, -1 for Error

Return type

int

New in version 9.0.

License: Geosoft Extended End-User License

get_result(vv_r, pi_res_field)[source]

Get a result field GXVV from GXEUL3 object

Parameters

New in version 5.0.

License: Geosoft Extended End-User License

is_null()[source]

Check if this is a null (undefined) instance

Returns

True if this is a null (undefined) instance, False otherwise.

Return type

bool

classmethod null()[source]

A null (undefined) instance of GXEUL3

Returns

A null GXEUL3

Return type

GXEUL3

write(out_fil)[source]

Write the results of GXEUL3 object to output file.

Parameters

out_fil (str) – Output File Name

New in version 5.0.

License: Geosoft Extended End-User License

EUL3_RESULT constants

Euler result types

EUL3_RESULT_X

X

gxapi.EUL3_RESULT_X = 1
EUL3_RESULT_Y

Y

gxapi.EUL3_RESULT_Y = 2
EUL3_RESULT_DEPTH

Depth

gxapi.EUL3_RESULT_DEPTH = 3
EUL3_RESULT_BACKGROUND

Background

gxapi.EUL3_RESULT_BACKGROUND = 4
EUL3_RESULT_DEPTHERROR

Deptherror

gxapi.EUL3_RESULT_DEPTHERROR = 5
EUL3_RESULT_LOCATIONERROR

Locationerror

gxapi.EUL3_RESULT_LOCATIONERROR = 6
EUL3_RESULT_WINDOWX

Windowx

gxapi.EUL3_RESULT_WINDOWX = 7
EUL3_RESULT_WINDOWY

Windowy

gxapi.EUL3_RESULT_WINDOWY = 8