GXFLT class¶
-
class
geosoft.gx.
GXFLT
¶ The FLT class allows the application of user-defined convolution filters to data in an OASIS database
-
static
create
((GXContext)ctx, (str)arg1) → GXFLT:¶ create a filter from a comma/space delimited string.
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (str) – Filter string
Returns: FLT Object
Return type: New in version 5.0.0.
Note:
Terminates process if filter not found. Sample Fraser Filter string: "-1,-1,1,1"
- ctx (
-
is_null
() → bool¶ Check if the instance of
geosoft.gx.GXFLT is null (undefined)
Returns: True if this is a null instance of geosoft.gx.GXFLT
, False otherwise.Return type: bool`
-
static
load
((GXContext)ctx, (str)arg1) → GXFLT:¶ Load and return handle to a convolution filter.
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (str) – Name of the filter File
Returns: FLT Object
Return type: New in version 5.0.0.
Note:
Terminates process if filter not found. A filter file is an ASCII file that contains filter coefficients, which are simply mumbers. There can be one coefficient to a line. Blank lines and comment lines are skipped. Comment lines beginn with a forward slash character in column 1. Following is an example Fraser Filter file: /---------------------- / Fraser Filter /---------------------- -1 -1 1 1
- ctx (
-
static
null
() → GXFLT¶ A null (undefined) instance of
geosoft.gx.GXFLT
Returns: A null geosoft.gx.GXFLT
Return type: geosoft.gx.GXFLT
-
static