tidy3d.plugins.autograd.invdes.ConicFilter

tidy3d.plugins.autograd.invdes.ConicFilter#

class ConicFilter[source]#

Bases: AbstractFilter

A conic 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_size

normalize

padding

Methods

get_kernel(size_px, normalize)

Get the conic kernel.

static get_kernel(size_px, normalize)[source]#

Get the conic kernel.

See also

get_kernel()