Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ notebooks:
jupytext docs/**/*.py --to ipynb

docs:
bash install_luminescent.sh
PYVISTA_OFF_SCREEN=0 PYVISTA_JUPYTER_BACKEND=html uv run jb build docs

clean:
Expand All @@ -73,4 +74,9 @@ clean:
rm -rf .ruff_cache
rm -rf .venv


luminescent:
bash install_luminescent.sh


.PHONY: drc doc docs dev
11 changes: 11 additions & 0 deletions install_luminescent.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# backend binaries
pip install gdown
apt-get install -y libglu1-mesa
gdown --fuzzy https://drive.google.com/file/d/1y9_HL5GPekKrxvpHzFGrqH8WXoeazMxx/view
tar -xf luminescent-latest.tar.gz -C /usr/local/

export JULIA_CUDA_USE_COMPAT=0
export PATH=$PATH:/usr/local/Luminescent/bin

# first time run downloads artifacts
luminescent
7 changes: 5 additions & 2 deletions notebooks/lumerical_1_fdtd_sparameters.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"id": "0",
"metadata": {},
"source": [
"# FDTD Lumerical\n",
"# FDTD Ansys Lumerical\n",
"\n",
"gdsfactory provides you with a Lumerical FDTD interface to calculate Sparameters automatically (without you having to click around the Lumerical GUI)\n",
"GDSFactory provides you with an Ansys Lumerical FDTD interface to calculate Sparameters automatically (without you having to click around the Lumerical GUI)\n",
"\n",
"The function `gplugins.lumerical.write_sparameters_lumerical` brings up a GUI, runs simulation and then writes the Sparameters both in .CSV and .DAT (Lumerical interconnect / simphony) file formats, as well as the simulation settings in YAML format.\n",
"\n",
Expand Down Expand Up @@ -424,6 +424,9 @@
"cell_metadata_filter": "-all",
"main_language": "python",
"notebook_metadata_filter": "-all"
},
"language_info": {
"name": "python"
}
},
"nbformat": 4,
Expand Down
Loading
Loading