grab_epsilon_material#

static DEpsCalculator.grab_epsilon_material(fdtd_session: FdtdSession, material_name: str, wl_m: ndarray) ndarray#

Grab wavelength-dependent permittivity data for a material in the FDTD. Fits data to a simple Cauchy model to extrapolate to the desired wavelengths.

Parameters:
fdtd_sessionFdtdSession

The FDTD session to query.

material_namestr

The name of the material as defined in the FDTD materials database.

wl_mnp.ndarray

1D array of wavelengths (in meters) at which to evaluate the permittivity

Returns:
np.ndarray

Epsilon, 1D array of permittivity values corresponding to the input wavelengths.