Skip to content

Commit

Permalink
Notebook fix
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenb-dev committed Sep 6, 2023
1 parent 2418544 commit a826fb7
Showing 1 changed file with 28 additions and 72 deletions.
100 changes: 28 additions & 72 deletions notebooks/hfss_si_project_setup.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"cells": [
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"id": "310be854-1d18-4efb-bd77-ac8bca9cbfa8",
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"import os\n",
Expand All @@ -23,11 +21,9 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"id": "5f1f4ecc-a520-447b-ae27-a2f458b38867",
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"RPC_SERVER = r\"C:\\Program Files\\AnsysEM\\v231\\Win64\"\n",
Expand All @@ -37,7 +33,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 3,
"id": "47c75ac4-37b1-421e-953e-f7f1e058a418",
"metadata": {},
"outputs": [],
Expand All @@ -50,11 +46,9 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 4,
"id": "fe3a1580-41a8-4c86-b5f3-6bfff221455f",
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"\"\"\"Launch a session. Make sure old one has been disconnected prior to starting a new one, if any\"\"\"\n",
Expand All @@ -64,11 +58,9 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 5,
"id": "a6dd9dbf-7c8f-4a8d-88c6-b75d2da8d289",
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"\"\"\"Open EDB\"\"\"\n",
Expand All @@ -78,11 +70,9 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 6,
"id": "a0d70717-0894-40da-a159-9e457e645e49",
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"\"\"\"Getting Layout\"\"\"\n",
Expand All @@ -92,11 +82,9 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 7,
"id": "61863bca-f5b7-4f73-93d5-9041f0bf8f1a",
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"\"\"\"Selecting 2 components from the layout\"\"\"\n",
Expand All @@ -106,11 +94,9 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 8,
"id": "26f79dcd-5a18-4c85-b8f3-61bcff664b8f",
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"\"\"\"Selecting the nets to be included for the simulation\"\"\"\n",
Expand All @@ -121,11 +107,9 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 9,
"id": "c2fe6580-10f4-469d-8c5b-5cb7e108dcbe",
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"\"\"\"Create solders balls and coaxial ports on selected components for HFSS 3D layout simulation.\"\"\"\n",
Expand Down Expand Up @@ -165,11 +149,9 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 10,
"id": "7aef9e6f-52ef-4901-a03f-8ad127ea77d6",
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"\"\"\"Getting conformal extend based on net selection to be used for layout clipping.\"\"\"\n",
Expand All @@ -186,11 +168,9 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 11,
"id": "c19a4da8-f3ad-4462-bf3a-804c08125343",
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"\"\"\"Clipping layout\"\"\"\n",
Expand All @@ -203,11 +183,9 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 12,
"id": "4b1c72c1-5a76-4c94-9b75-e769827478fa",
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"\"\"\"Deleting original Cell\"\"\"\n",
Expand All @@ -217,11 +195,9 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 13,
"id": "d15f86e8-f6d8-4f5b-bb46-23d2d06d79a5",
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"\"\"\"Saving EDB\"\"\"\n",
Expand All @@ -231,11 +207,9 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 14,
"id": "94e14e63-55d1-46f8-94cd-eee115a0954e",
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"\"\"\"Disconnect the session\"\"\"\n",
Expand All @@ -244,25 +218,7 @@
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.4"
}
},
"metadata": {},
"nbformat": 4,
"nbformat_minor": 5
}

0 comments on commit a826fb7

Please sign in to comment.