Commit a66ae3c6 authored by Leon Merten Lohse's avatar Leon Merten Lohse
Browse files

update examples

parent ab7a4346
Pipeline #215131 failed with stages
in 1 minute
......@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 24,
"metadata": {
"tags": []
},
......@@ -18,7 +18,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 25,
"metadata": {},
"outputs": [],
"source": [
......@@ -27,7 +27,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 26,
"metadata": {},
"outputs": [
{
......@@ -81,7 +81,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 27,
"metadata": {},
"outputs": [],
"source": [
......@@ -94,7 +94,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 28,
"metadata": {},
"outputs": [
{
......@@ -103,7 +103,7 @@
"9.918400000000001e-08"
]
},
"execution_count": 5,
"execution_count": 28,
"metadata": {},
"output_type": "execute_result"
}
......@@ -121,7 +121,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 29,
"metadata": {},
"outputs": [],
"source": [
......@@ -130,14 +130,14 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 30,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"100%|██████████| 1599/1599 [00:00<00:00, 17137.24it/s]\n"
"100%|██████████| 1599/1599 [00:00<00:00, 10711.67it/s]\n"
]
}
],
......@@ -154,7 +154,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 31,
"metadata": {},
"outputs": [
{
......@@ -163,7 +163,7 @@
"Text(0, 0.5, '$x$ (nm)')"
]
},
"execution_count": 8,
"execution_count": 31,
"metadata": {},
"output_type": "execute_result"
},
......@@ -201,7 +201,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 32,
"metadata": {},
"outputs": [],
"source": [
......@@ -210,14 +210,14 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 33,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"100%|██████████| 1599/1599 [00:00<00:00, 5242.77it/s]\n"
"100%|██████████| 1599/1599 [00:00<00:00, 4644.36it/s]\n"
]
}
],
......@@ -232,7 +232,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 34,
"metadata": {},
"outputs": [
{
......@@ -241,7 +241,7 @@
"Text(0, 0.5, '$x$ (nm)')"
]
},
"execution_count": 11,
"execution_count": 34,
"metadata": {},
"output_type": "execute_result"
},
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
......@@ -16,7 +16,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
......@@ -25,7 +25,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 9,
"metadata": {},
"outputs": [
{
......@@ -79,7 +79,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 10,
"metadata": {},
"outputs": [],
"source": [
......@@ -92,7 +92,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 25,
"metadata": {},
"outputs": [],
"source": [
......@@ -101,14 +101,14 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 26,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"100%|██████████| 999/999 [00:00<00:00, 9614.42it/s]\n"
"100%|██████████| 999/999 [00:00<00:00, 6868.84it/s]\n"
]
}
],
......@@ -120,12 +120,12 @@
"for iz in tqdm(range(1, nz)):\n",
" boundary = boundary_layer[iz]\n",
" #boundary = (0,0 )\n",
" field[iz, ...] = propagator.step(refractive_index, (boundary, boundary))"
" field[iz, ...] = propagator.step(refractive_index, (boundary,))"
]
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 27,
"metadata": {},
"outputs": [
{
......@@ -134,7 +134,7 @@
"Text(0, 0.5, '$x$ (nm)')"
]
},
"execution_count": 7,
"execution_count": 27,
"metadata": {},
"output_type": "execute_result"
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment