Click or drag to resize

CDUBPFilt Method

This method applies a band-pass filter to the specified line/channel and places the output in the output channel.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void BPFilt(
	CDB db,
	int line,
	int i_ch,
	int o_ch,
	double sw,
	double lw,
	int filt_len
)

public static void BPFilt(
	CDB db,
	int line,
	int i_ch,
	int o_ch,
	double sw,
	double lw,
	int filt_len
)

Parameters

db
Type: GeoEngine.Core.GXNetCDB
Database
line
Type: SystemInt32
Line handle
i_ch
Type: SystemInt32
Input channel to filter [<define>DB_LOCK_READONLY</define>]
o_ch
Type: SystemInt32
Output filtered channel [<define>DB_LOCK_READWRITE</define>]
sw
Type: SystemDouble
Short wavelength cutoff, 0 for highpass
lw
Type: SystemDouble
Long wavelength cutoff, 0 for lowpass
filt_len
Type: SystemInt32
Filter Length, 0 for default length
Remarks
If the short and long wavelengths are <= 0, the input channel is simply copied to the output channel without filtering.
See Also