Click or drag to resize

CRPSWindowSpectrumToChannel Method

Window radiometric data channel on a line in a database

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.2.0.42
Syntax
public static void WindowSpectrumToChannel(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	int spectral_data,
	double start_window,
	double end_window,
	int output_channel,
	string channel_description
)

public static void WindowSpectrumToChannel(
	CGXNETCore gxNetShared,
	CDB db,
	int line,
	int spectral_data,
	double start_window,
	double end_window,
	int output_channel,
	string channel_description
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
db
Type: GeoEngine.Core.GXNetXCDB
DB Object
line
Type: SystemInt32
Line to process (NULLSYMB for all selected lines)
spectral_data
Type: SystemInt32
Spectral data channel handle (READONLY)
start_window
Type: SystemDouble
Starting fractional window index (0 to N)
end_window
Type: SystemDouble
Ending fractional window index (0 to N), >= Starting window
output_channel
Type: SystemInt32
Output channel handle (READWRITE)
channel_description
Type: SystemString
Output channel description for output/errors etc
Remarks
The average value of the windows in the given fractional index range is written to the specified output channel. For instance, if you specified 0.5 to 1.5, then half values in the first window would be added to half the values in the second window. To specify a single window 'i' you need to specify the range i to i+1. Ref: See the RPSWINDOW.GXC file for details and implementation of the algorithm.
See Also