Skip to content

Commit 9a30bd4

Browse files
Fix farfield (#296)
1 parent a10609d commit 9a30bd4

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

examples/high_frequency/antenna/dipole.py

+2-15
Original file line numberDiff line numberDiff line change
@@ -69,24 +69,11 @@
6969
hfss.create_open_region(frequency="1GHz")
7070

7171
# ## Create setup
72-
#
73-
# Create a setup with a sweep to run the simulation.
7472

7573
setup = hfss.create_setup("MySetup")
7674
setup.props["Frequency"] = "1GHz"
7775
setup.props["MaximumPasses"] = 1
78-
hfss.create_linear_count_sweep(
79-
setup=setup.name,
80-
units="GHz",
81-
start_frequency=0.5,
82-
stop_frequency=1.5,
83-
num_of_freq_points=101,
84-
name="sweep1",
85-
sweep_type="Interpolating",
86-
interpolation_tol=3,
87-
interpolation_max_solutions=255,
88-
save_fields=False,
89-
)
76+
9077

9178
# ## Run simulation
9279

@@ -180,7 +167,7 @@
180167
ffdata = hfss.get_antenna_data(
181168
sphere="Sphere_Custom",
182169
setup=hfss.nominal_adaptive,
183-
frequencies=["1000MHz"],
170+
frequencies=1
184171
)
185172

186173
# ## Generate 2D cutout plot

0 commit comments

Comments
 (0)