GXEDB class

class geosoft.gx.GXEDB
The EDB class provides access to a database as displayed within
Oasis montaj, but does not change data within the database itself.
It performs functions such as setting the current line.

Note:

To obtain access to the database itself, it is recommended practice
to begin with an EDB object, and use the geosoft.gx.GXEDB.lock() function to
lock the underlying map to prevent external changes. The returned
DB object (see DB.GXH) may then be safely used to make changes to the map itself.
is_null() → bool

Check if the instance of geosoft.gx.GXEDB is null (undefined)

Returns:True if this is a null instance of geosoft.gx.GXEDB, False otherwise.
Return type:bool`
launch_histogram((str)arg1) → None:
Launch histogram tool on a database.
Parameters:arg1 (str) – First chan name
Returns:Nothing
Return type:None

New in version 5.0.6.

See also

geosoft.gx.GXCHIMERA.launch_histogram() in chimera.gxh

launch_scatter() → None:
Launch scatter tool on a database.
Returns:Nothing
Return type:None

New in version 5.0.6.

Note:

The scatter tool uses the following INI parameters

SCATTER.STM       name of the scatter template,"none" for none
SCATTER.STM_NAME  name of last template section, "" for none.
SCATTER.X         name of channel to display in X
SCATTER.Y         name of channel to display in Y
SCATTER.MASK      name of channel to use for mask

See also

geosoft.gx.GXCHIMERA.launch_scatter() in chimera.gxh

static null() → GXEDB

A null (undefined) instance of geosoft.gx.GXEDB

Returns:A null geosoft.gx.GXEDB
Return type:geosoft.gx.GXEDB

MAX_PROF_WND constant

gx.MAX_PROF_WND = 5
The following value should be kept synchronized with the value defined in src\geoguilib\stdafx.h

EDB_PATH constants

Four forms
gx.EDB_PATH_FULL = 0
d:\directory\file.gdb
gx.EDB_PATH_DIR = 1
\directory\file.gdb
gx.EDB_PATH_NAME_EXT = 2
file.gdb
gx.EDB_PATH_NAME = 3
file

EDB_PROF constants

Profile data
gx.EDB_PROF_I_CHANNEL = 0
DB_SYMB
gx.EDB_PROF_I_LINE_STYLE = 1
0 - no line
1 - solid
2 - long dash
3 - short dash
gx.EDB_PROF_I_LINE_WEIGHT = 2
0 - no line
1 - normal
2 - medium
3 - heavy
gx.EDB_PROF_I_SYMBOL = 3
0 - no symbol
1 - rectangle
2 - circle
3 - triangle
4 - diamond
5 - x
6 - +
gx.EDB_PROF_I_SYMBOL_WEIGHT = 4
0 - normal
1 - large
gx.EDB_PROF_I_COLOR = 5
MVIEW Color Value
gx.EDB_PROF_I_WRAP = 6
0-no, 1-yes
gx.EDB_PROF_I_BREAK_ON_DUMMY = 7
0-no, 1-yes
gx.EDB_PROF_I_GRID_LINE = 8
0-no, 1-yes
gx.EDB_PROF_R_GRID_LINE_INTERVAL = 9
0-no, 1-yes
gx.EDB_PROF_I_LOG = 10
0-Linear, 1-Log, 2-LogLinear
gx.EDB_PROF_R_LOG_MINIMUM = 11
Minimum Value
gx.EDB_PROF_I_SAMESCALE = 12
0-no, 1-yes
gx.EDB_PROF_I_SOURCELINE = 13
0 - current line
-1 - previous line
-2 - next line
gx.EDB_PROF_I_SCALEOPTION = 14
0 - scale to fit for each line
1 - fix the range
2 - fix the scale, center the range
gx.EDB_PROF_I_SAMERANGE = 15
0-no, 1-yes

EDB_PROFILE_SCALE constants

Profile Scale Options
gx.EDB_PROFILE_SCALE_LINEAR = 0
gx.EDB_PROFILE_SCALE_LOG = 1
gx.EDB_PROFILE_SCALE_LOGLINEAR = 2

EDB_REMOVE constants

How to handle pending changes in document
gx.EDB_REMOVE_SAVE = 0
gx.EDB_REMOVE_PROMPT = 1
gx.EDB_REMOVE_DISCARD = 2

EDB_UNLOAD constants

What type of prompt
gx.EDB_UNLOAD_NO_PROMPT = 0
gx.EDB_UNLOAD_SINGLE_PROMPT = 1
gx.EDB_UNLOAD_MULTI_PROMPT = 2
Obsolete

EDB_WINDOW_STATE constants

Window State Options
gx.EDB_WINDOW_RESTORE = 0
gx.EDB_WINDOW_MINIMIZE = 1
gx.EDB_WINDOW_MAXIMIZE = 2

EDB_YAXIS_DIRECTION constants

Window State Options
gx.EDB_YAXIS_NORMAL = 0
gx.EDB_YAXIS_INVERTED = 1