flex_rf.tidy3d.LowFrequencySmoothingSpec
Type: class │ Base(s): AbstractLowFrequencySmoothingSpec
Description
Section titled “Description”Specifies the low frequency smoothing parameters for the simulation. This specification affects only results recorded in mode monitors. Specifically, the mode decomposition data for frequencies for which the total simulation time in units of the corresponding period (T = 1/f) is less than the specified minimum sampling time will be overridden by extrapolation from the data in the trusted frequency range. The trusted frequency range is defined in terms of minimum and maximum sampling times (the total simulation time divided by the corresponding period).
Example(s)
Section titled “Example(s)”low_freq_smoothing = LowFrequencySmoothingSpec( min_sampling_time=3, max_sampling_time=6, order=1, max_deviation=0.5, monitors=("monitor1", "monitor2"),)Parameters
Section titled “Parameters”monitors [tuple[str, ...]] |
|
The names of monitors to which low frequency smoothing will be applied. |
min_sampling_time [NonNegativeFloat] = 1.0 |
|
The minimum simulation time in periods of the corresponding frequency for which frequency domain results will be used to fit the polynomial for the low frequency extrapolation. Results below this threshold will be completely discarded. |
max_sampling_time [NonNegativeFloat] = 5.0 |
|
The maximum simulation time in periods of the corresponding frequency for which frequency domain results will be used to fit the polynomial for the low frequency extrapolation. Results above this threshold will be not be modified. |
order [int] = 1 |
|
The order of the polynomial to use for the low frequency extrapolation. |
max_deviation [float | None] = 0.5 |
|
The maximum deviation (in fraction of the trusted values) to allow for the low frequency smoothing. |