You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Specifies the low frequency smoothing parameters for the terminal component simulation.
38
-
The low frequency smoothing is performed by fitting a polynomial to the data in the trusted frequency range,
39
-
defined by the minimum and maximum sampling times, and then using the polynomial to extrapolate
40
-
the data outside of the trusted frequency range into lower frequencies.
41
+
This specification affects only results at wave ports. Specifically, the mode decomposition data
42
+
for frequencies for which the total simulation time in units of the corresponding period (T = 1/f) is less than
43
+
the specified minimum sampling time will be overridden by extrapolation from the data in the trusted frequency range.
44
+
The trusted frequency range is defined in terms of minimum and maximum sampling times (the total simulation time divided by the corresponding period).
41
45
42
46
Example
43
47
-------
@@ -49,46 +53,6 @@ class ModelerLowFrequencySmoothingSpec(Tidy3dBaseModel):
49
53
... )
50
54
"""
51
55
52
-
min_sampling_time: pd.NonNegativeFloat=pd.Field(
53
-
1,
54
-
title="Minimum Sampling Time (periods)",
55
-
description="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. "
56
-
"Results below this threshold will be completely discarded.",
57
-
)
58
-
59
-
max_sampling_time: pd.NonNegativeFloat=pd.Field(
60
-
5,
61
-
title="Maximum Sampling Time (periods)",
62
-
description="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. "
63
-
"Results above this threshold will be not be modified.",
64
-
)
65
-
66
-
order: int=pd.Field(
67
-
1,
68
-
title="Extrapolation Order",
69
-
description="The order of the polynomial to use for the low frequency extrapolation.",
70
-
ge=0,
71
-
le=3,
72
-
)
73
-
74
-
max_deviation: Optional[float] =pd.Field(
75
-
0.5,
76
-
title="Maximum Deviation",
77
-
description="The maximum deviation (in fraction of the trusted values) to allow for the low frequency smoothing.",
0 commit comments