PortResults#
- class lumopt2.fom.simulation_results.PortResults(monitor_name: str, metric: str, wavelengths: List | float | int, tolerance: float = 1e-09, config: None = None)#
Container for port monitor simulation results.
Manages transmission data from Lumerical port monitors, providing methods to retrieve and process transmission values.
- Parameters:
- monitor_name
str Name of the port monitor in the FDTD simulation.
- metric
str Metric to extract (should be ‘transmission’).
- wavelengths
Union[List,float,int] Wavelength(s) at which to extract metric values, in meters.
- tolerance
float,optional Maximum allowed difference between requested and available wavelengths, in meters. Default is 1e-9.
- config
ProjectConfigobject,optional Multi-forward configuration (default: None).
- monitor_name
- Attributes:
Methods
Extract metric values at specific wavelengths.
PortResults.get_results(fdtd_session)Retrieve and extract port monitor results from the FDTD session.
Retrieve transmission results from a port monitor.