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 (Attribute:
radius
) –Type
float
Default
Units
um
Description
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 (Attribute:
design_region_dl
) –Type
float
Default
Units
um
Description
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.