Skip to content

Commit

Permalink
MAINT: remove redundant meshgrid definition
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Sep 25, 2023
1 parent 05f1004 commit 7171fdb
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions docs/report/draft.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -381,39 +381,6 @@
"jupyter": {
"source_hidden": true
},
"mystnb": {
"code_prompt_show": "Define mesh grid for plotting"
},
"tags": [
"hide-input"
]
},
"outputs": [],
"source": [
"s_real_max = 4\n",
"s_imag_max = 1.5\n",
"ε = 1e-4\n",
"\n",
"resolution = 50\n",
"s_real = np.linspace(0, s_real_max, num=resolution)\n",
"s_imag_neg = np.linspace(-s_imag_max, -ε, num=resolution // 2)\n",
"s_imag_pos = np.linspace(+ε, +s_imag_max, num=resolution // 2)\n",
"X, Y_neg = np.meshgrid(s_real, s_imag_neg)\n",
"X, Y_pos = np.meshgrid(s_real, s_imag_pos)\n",
"S_neg = X + Y_neg * 1j\n",
"S_pos = X + Y_pos * 1j"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"source_hidden": true
},
"mystnb": {
"code_prompt_show": "Design slider interface"
},
"tags": [
"hide-cell",
"scroll-input"
Expand Down

0 comments on commit 7171fdb

Please sign in to comment.