Skip to content

Commit

Permalink
update notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
Dou Du committed May 30, 2024
1 parent bf84d29 commit d4ff8df
Showing 1 changed file with 14 additions and 97 deletions.
111 changes: 14 additions & 97 deletions example/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,9 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"env: ANYWIDGET_HMR=1\n"
]
}
],
"outputs": [],
"source": [
"# This cell is only needed for development.\n",
"%load_ext autoreload\n",
Expand All @@ -22,7 +14,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -41,7 +33,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -59,24 +51,9 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "709f5e8246d247fbbdfad474de5288da",
"version_major": 2,
"version_minor": 1
},
"text/plain": [
"BandsPlotWidget(bands=[{'label': '', 'path': [['GAMMA', 'X'], ['X', 'U'], ['K', 'GAMMA'], ['GAMMA', 'L'], ['L'…"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"w1 = BandsPlotWidget(\n",
" bands = [si_bands],\n",
Expand All @@ -99,24 +76,9 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "cb7bf3ace625413684085f640b4db436",
"version_major": 2,
"version_minor": 1
},
"text/plain": [
"BandsPlotWidget(bands=[{'label': '', 'path': [['GAMMA', 'Y'], ['Y', 'C_0'], ['SIGMA_0', 'GAMMA'], ['GAMMA', 'Z…"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"w2 = BandsPlotWidget(\n",
" bands=[co_bands],\n",
Expand All @@ -135,24 +97,9 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "bfdcdd23e21845d0b2d8e6cbb6d0f3da",
"version_major": 2,
"version_minor": 1
},
"text/plain": [
"BandsPlotWidget(dos={'fermi_energy': 18.249471602831, 'dos': [{'x': [-77.703, -77.683, -77.663, -77.643, -77.6…"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"w3 = BandsPlotWidget(\n",
" dos=co_dos,\n",
Expand All @@ -170,24 +117,9 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "a313db7073a240118703134188f83983",
"version_major": 2,
"version_minor": 1
},
"text/plain": [
"BandsPlotWidget(bands=[{'label': '', 'path': [['GAMMA', 'X'], ['X', 'U'], ['K', 'GAMMA'], ['GAMMA', 'L'], ['L'…"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"w4 = BandsPlotWidget(\n",
" bands=[si_bands],\n",
Expand All @@ -205,24 +137,9 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "55501976c2ac42ed856c81b5a542d2f8",
"version_major": 2,
"version_minor": 1
},
"text/plain": [
"BandsPlotWidget(bands=[{'label': '', 'path': [['GAMMA', 'X'], ['X', 'U'], ['K', 'GAMMA'], ['GAMMA', 'L'], ['L'…"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"w5 = BandsPlotWidget(\n",
" bands=[si_bands, si_bands_shifted],\n",
Expand Down

0 comments on commit d4ff8df

Please sign in to comment.