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_session
FdtdSession FDTD session containing the completed simulation.
- fdtd_session
- Returns:
tuple(wavelengths_monitor, transmission_monitor)wherewavelengths_monitoris an array of wavelengths (in meters) from the port monitor andtransmission_monitoris the corresponding array of transmission values (|T_out|).
Notes
The absolute value is taken because Lumerical can return negative
T_outvalues when light is injected in the backward direction, even though the physical transmission is positive.