BaseResults#
- class lumopt2.fom.simulation_results.BaseResults(monitor_name: str, metric: str, wavelengths: List | float | int, tolerance: float = 1e-09, config=None)#
Base class for simulation result objects.
Provides common functionality for sorting and organizing wavelength-dependent data.
- Parameters:
- monitor_name
str Name of the monitor in the FDTD simulation.
- metric
str Metric to extract from the monitor (e.g., ‘intensity’, ‘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.