tidy3d.plugins.autograd.utilities.make_kernel#
- class make_kernel[source]#
- Bases: - Create a kernel based on the specified type in n dimensions. - Parameters:
- kernel_type (KernelType) – The type of kernel to create (‘circular’ or ‘conic’). 
- size (Iterable[int]) – The size of the kernel in pixels for each dimension. 
- normalize (bool = True) – Whether to normalize the kernel so that it sums to 1. 
 
- Returns:
- An n-dimensional array representing the specified type of kernel. 
- Return type:
- NDArray 
 - Inherited Common Usage