ConvolveProfile


Applies a user-defined convolution to a profile.

Syntax

C++
C#
Python
 
def ConvolveProfile(
	inProfile: Profile,
	inMask: list[float],
	outProfile: Profile,
	/,
	*,
	inRange: Range | None = None,
	inNormalizeMaskValues: bool = False,
	inMaskOrigin: int | None = None
)
-> None

Parameters

Name Type Default Description
Input value inProfile Profile Profile to be processed
Input value inRange Range | None None
Input value inMask list[float] Convolution kernel mask that will be applied to the profile
Input value inNormalizeMaskValues bool False If set to true, the kernel mask will be normalized so that its values sum up to one
Input value inMaskOrigin int | None None Index of the kernel mask element that will be aligned against the profile values
Output value outProfile Profile Output profile