Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Paaaaarth committed Dec 28, 2024
1 parent 4d5a2bd commit f40ff81
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/source/tutorials/denoised_laser.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@
"energy_frac = 0\n",
"for i, mode_key in enumerate(list(modeCoeffs)):\n",
" tmp_transverse_profile = HermiteGaussianTransverseProfile(\n",
" waist, waist, mode_key[0], mode_key[1], longitudinal_profile.lambda0\n",
" waist[0], waist[1], mode_key[0], mode_key[1], longitudinal_profile.lambda0\n",
" )\n",
" energy_frac += modeCoeffs[mode_key] ** 2 # Energy fraction of the mode\n",
" if i == 0: # First mode (0,0)\n",
Expand Down Expand Up @@ -367,7 +367,7 @@
"source": [
"# Plot the original and denoised profiles\n",
"# Create a grid for plotting\n",
"x = np.linspace(-5 * waist, 5 * waist, 500)\n",
"x = np.linspace(-5 * waist[0], 5 * waist[0], 500)\n",
"X, Y = np.meshgrid(x, x)\n",
"\n",
"# Determine the figure parameters\n",
Expand Down Expand Up @@ -502,7 +502,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "venv",
"display_name": ".venv",
"language": "python",
"name": "python3"
},
Expand All @@ -516,7 +516,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.2"
"version": "3.11.4"
}
},
"nbformat": 4,
Expand Down

0 comments on commit f40ff81

Please sign in to comment.