Skip to content

Commit 7b879bd

Browse files
fix: disable default low freq smoothing
1 parent 6a105b1 commit 7b879bd

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

schemas/TerminalComponentModeler.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18245,15 +18245,7 @@
1824518245
{
1824618246
"$ref": "#/definitions/ModelerLowFrequencySmoothingSpec"
1824718247
}
18248-
],
18249-
"default": {
18250-
"attrs": {},
18251-
"max_deviation": 0.5,
18252-
"max_sampling_time": 5.0,
18253-
"min_sampling_time": 1.0,
18254-
"order": 1,
18255-
"type": "ModelerLowFrequencySmoothingSpec"
18256-
}
18248+
]
1825718249
},
1825818250
"name": {
1825918251
"default": "",

tidy3d/plugins/smatrix/component_modelers/terminal.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,6 @@ class ModelerLowFrequencySmoothingSpec(AbstractLowFrequencySmoothingSpec):
133133
"""
134134

135135

136-
DEFAULT_LOW_FREQUENCY_SMOOTHING_SPEC = ModelerLowFrequencySmoothingSpec()
137-
138-
139136
class TerminalComponentModeler(AbstractComponentModeler, MicrowaveBaseModel):
140137
"""
141138
Tool for modeling two-terminal multiport devices and computing port parameters
@@ -208,7 +205,7 @@ class TerminalComponentModeler(AbstractComponentModeler, MicrowaveBaseModel):
208205
)
209206

210207
low_freq_smoothing: Optional[ModelerLowFrequencySmoothingSpec] = pd.Field(
211-
DEFAULT_LOW_FREQUENCY_SMOOTHING_SPEC,
208+
None,
212209
title="Low Frequency Smoothing",
213210
description="The low frequency smoothing parameters for the terminal component simulation.",
214211
)

0 commit comments

Comments
 (0)