set_result
set_result#
method
- Detector.set_result(wl: Union[jax.Array, numpy.ndarray, numpy.bool_, numpy.number, bool, int, float, complex], power: Union[jax.Array, numpy.ndarray, numpy.bool_, numpy.number, bool, int, float, complex]) None [source]#
Set the result of the detector.
- Parameters
wl (ArrayLike) – The wavelengths at which the detector was simulated.
power (ArrayLike) – The power at each wavelength.