Skip to content

Commit

Permalink
REF: simplify and remove code surrounding padding
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-lauer committed Dec 16, 2024
1 parent eee53d7 commit 5e62cb1
Show file tree
Hide file tree
Showing 3 changed files with 295 additions and 239 deletions.
4 changes: 2 additions & 2 deletions docs/examples/wavefront.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -358,12 +358,12 @@
"\n",
"domain_x = X.rspace_domain[1]\n",
"\n",
"X.drift(0.0, inplace=True)\n",
"X = X.drift(0.0)\n",
"\n",
"for zi in range(0, num_drift_steps):\n",
" if zi > 0:\n",
" print(\"Propagating to: \", zi * dz)\n",
" X.drift(dz, inplace=True)\n",
" X = X.drift(dz)\n",
" wf = np.abs(get_transverse_slice(X.rmesh)) ** 2\n",
"\n",
" popt_gaussian, ydata_fit, FWHM, roots = gaussian_fit(\n",
Expand Down
Loading

0 comments on commit 5e62cb1

Please sign in to comment.