FieldResults#
- class lumopt2.fom.simulation_results.FieldResults(monitor_name: str, metric: str, wavelengths: List | float | int, tolerance: float = 1e-09, config: object | None = None)#
Container for field monitor simulation results.
Manages field data (Ex, Ey, Ez) from Lumerical field monitors, providing methods to retrieve and process electromagnetic field distributions.
- Parameters:
- monitor_name
str Name of the field monitor in the FDTD simulation.
- metric
str Metric to extract (should be ‘intensity’).
- 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.
Retrieve field intensity results from a field monitor.
FieldResults.get_results(fdtd_session)Retrieve and extract field monitor results from the FDTD session.