tidy3d.plugins.adjoint.utils.filter.ConicFilter

tidy3d.plugins.adjoint.utils.filter.ConicFilter#

class ConicFilter[source]#

Bases: AbstractCircularFilter

Filter that convolves an image with a conical mask, used for larger feature sizes.

Parameters:
  • radius (float) – [units = um]. Radius of the filter to convolve with supplied spatial data. Note: the corresponding feature size expressed in the device is typically sqrt(3) times smaller than the radius. For best results, it is recommended to make your radius about twice as large as the desired feature size.

  • design_region_dl (float) – [units = um]. Grid size in the design region. This sets the length scale for the conic convolution filter.

Note

\[filter(r) = max(radius - r, 0)\]

Attributes

Methods

make_kernel(coords_rad)

Function to make the kernel out of a coordinate grid of radius values (in pixels).

make_kernel(coords_rad)[source]#

Function to make the kernel out of a coordinate grid of radius values (in pixels).

__hash__()#

Hash method.