get_adjoint_fields#

FieldFom.get_adjoint_fields(fdtd_session, entry)#

Extract adjoint field for field-based simulation.

For field-based simulations, adjoint field values are already adjusted from the DFT monitor in the FieldRegion object.

Parameters:
fdtd_sessionFdtdSession

FDTD session providing access to simulation data.

entrydict

Dictionary containing filenames and simulation results.

Returns:
list of np.ndarray

Adjoint electric field data, one array per wavelength.