Skip to content

Commit

Permalink
installation for packages
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasc-ubc committed Mar 2, 2023
1 parent 7fde69b commit 97db67e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions klayout_dot_config/python/SiEPIC/opics_netlist_sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ def circuit_simulation_opics(verbose=False,opt_in_selection_text=[], require_sav
''' Simulate the circuit using OPICS
Using a netlist extracte from the layout'''

# Required packages
from SiEPIC.install import install
install('plotly')
install('pandas')
install('packaging')
install('defusedxml')
install('numpy')


# obtain the spice file from the layout
from SiEPIC.netlist import export_spice_layoutview
spice_filepath, _ = export_spice_layoutview(verbose=False,opt_in_selection_text=[], require_save=require_save)
Expand Down

0 comments on commit 97db67e

Please sign in to comment.