tidy3d.plugins.autograd.invdes.FilterAndProject#

class FilterAndProject[source]#

Bases: Tidy3dBaseModel

A class that combines filtering and projection operations.

Parameters:
  • radius (Union[float, tuple[float, ...]]) – The radius of the kernel.

  • dl (Union[float, tuple[float, ...]]) – The grid spacing.

  • size_px (Optional[Union[int, tuple[int, ...]]] = None) – The size of the kernel in pixels.

  • beta (NonNegativeFloat = 1.0) – The beta parameter for the tanh projection.

  • eta (NonNegativeFloat = 0.5) – The eta parameter for the tanh projection.

  • filter_type (Literal['circular', 'conic', 'gaussian'] = conic) – The type of filter to create.

  • padding (Literal['constant', 'edge', 'reflect', 'symmetric', 'wrap'] = reflect) – The padding mode to use.

Attributes

radius#
dl#
size_px#
beta#
eta#
filter_type#
padding#