tidy3d.plugins.autograd.invdes.CircularFilter#
- class CircularFilter[source]#
Bases:
AbstractFilterA circular filter for creating and applying convolution filters.
- Parameters:
kernel_size (Union[PositiveInt, tuple[PositiveInt, ...]]) – Size of the kernel in pixels for each dimension.
normalize (bool = True) – Whether to normalize the kernel so that it sums to 1.
padding (Literal['constant', 'edge', 'reflect', 'symmetric', 'wrap'] = reflect) – The padding mode to use.
Attributes
kernel_sizenormalizepaddingMethods
get_kernel(size_px, normalize)Get the circular kernel.