SmoothProfile_Mean


Smooths a profile by averaging points within a kernel.

Syntax

C++
C#
Python
 
def SmoothProfile_Mean(
	inProfile: Profile,
	outProfile: Profile,
	/,
	*,
	inRange: Range | None = None,
	inKernelRadius: int = 3,
	inCyclic: bool = False
)
-> None

Parameters

Name Type Range Default Description
Input value inProfile Profile Input profile
Input value inRange Range | None None
Input value inKernelRadius int 0 - 3 Defines the width of the kernel as '2 * inKernelRadius + 1'
Input value inCyclic bool False Defines whether the first element should be considered adjacent to the last element
Output value outProfile Profile Output profile