lumopt2.parametrization.d_eps_calculator#

Calculator for sparse dEps/dP via finite differences in Lumerical FDTD.

This module provides the DEpsCalculator class, which orchestrates the computation of the Jacobian dEps/dP (permittivity change with respect to geometric parameters) using bounded FDTD index monitors and central finite differences. It also exposes pure-numpy post-processing helpers as static methods (calculate_dF_dPi, remap_wavelengths).

Classes#

DEpsCalculator(fdtd_session, parametrization)

Compute dEps/dP for a parametric geometry via finite differences.