get_transmission_results#

PortResults.get_transmission_results(fdtd_session: FdtdSession) tuple#

Retrieve transmission results from a port monitor.

Fetches the S-parameter expansion data from the specified port monitor and computes transmission as the absolute value of T_out.

Parameters:
fdtd_sessionFdtdSession

FDTD session containing the completed simulation.

Returns:
tuple

(wavelengths_monitor, transmission_monitor) where wavelengths_monitor is an array of wavelengths (in meters) from the port monitor and transmission_monitor is the corresponding array of transmission values (|T_out|).

Notes

The absolute value is taken because Lumerical can return negative T_out values when light is injected in the backward direction, even though the physical transmission is positive.