tidy3d.plugins.autograd.invdes.get_kernel_size_px

tidy3d.plugins.autograd.invdes.get_kernel_size_px#

class get_kernel_size_px[source]#

Bases:

Calculate the size of the kernel in pixels based on the given radius and pixel size.

Parameters:
  • radius (float) – The radius of the kernel in micrometers.

  • dl (float) – The size of each pixel in micrometers.

Returns:

The size of the kernel in pixels.

Return type:

float

Inherited Common Usage