Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/new-edb-cfg-example-dcir' into n…
Browse files Browse the repository at this point in the history
…ew-edb-cfg-example-dcir
  • Loading branch information
ring630 committed Nov 20, 2024
2 parents 0385de8 + 77bf088 commit e9a285b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/use_configuration/pcb_dc_ir.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
# +
import os
import tempfile
from IPython.display import Image, display

from IPython.display import Image, display
from ansys.aedt.core import Hfss3dLayout
from ansys.aedt.core.downloads import download_file

Expand All @@ -26,8 +26,8 @@
temp_folder = tempfile.TemporaryDirectory(suffix=".ansys")
file_edb = download_file(source="edb/ANSYS-HSD_V1.aedb", destination=temp_folder.name)

import shutil
from pathlib import Path
import shutil

# ## Load example layout

Expand Down Expand Up @@ -121,9 +121,9 @@
["1_Top", "1V0"],
],
quantity="Voltage",
setup="siwave_1"
setup="siwave_1",
)
file_path_image = os.path.join(temp_folder.name , "voltage.jpg")
file_path_image = os.path.join(temp_folder.name, "voltage.jpg")
voltage.export_image(
full_path=file_path_image,
width=1920,
Expand All @@ -146,7 +146,7 @@
["1_Top", "1V0"],
],
quantity="Power Density",
setup="siwave_1"
setup="siwave_1",
)

file_path_image = os.path.join(temp_folder.name, "power_density.jpg")
Expand Down

0 comments on commit e9a285b

Please sign in to comment.