Skip to content

Commit

Permalink
rm extra semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbrahms committed Apr 27, 2024
1 parent 1d1b1ef commit 0467bf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Focusing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Calculate the minimum distance between the exit of an HCF with radius `a` and a
with a given `thickness` such that the B-integral for a pulse at wavelength `λ0` with `energy` and duration `τfwhm`
(or a given `peakpower`) does not exceed `Bmax`.
"""
function window_distance(a, λ0, energy, τfwhm, thickness; material=:SiO2, Bmax=0.2; shape=:sech)
function window_distance(a, λ0, energy, τfwhm, thickness; material=:SiO2, Bmax=0.2, shape=:sech)
_, P0 = T0P0(τfwhm, energy; shape)
window_distance(a, λ0, P0, thickness; material, Bmax)
end
Expand Down Expand Up @@ -125,7 +125,7 @@ function diverged_ROC(a, λ0, distance)
distance*(1 + (zr/distance)^2)
end

function kerr_lens(w0, energy, τfwhm, thickness; material=:SiO2; shape=:sech)
function kerr_lens(w0, energy, τfwhm, thickness; material=:SiO2, shape=:sech)
n2 = getn2(material)
_, P0 = T0P0(τfwhm, energy; shape)
π*w0^4/(8*n2*thickness*P0)
Expand Down

0 comments on commit 0467bf8

Please sign in to comment.