Skip to content

Commit

Permalink
fix FreeGrid window
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbrahms committed Oct 26, 2022
1 parent 380f116 commit 90bb3d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Grid.jl
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ function FreeGrid(Rx, Nx, Ry, Ny; window_factor=0.1)

xwin = Maths.planck_taper(x, -Rxw, -Rx, Rx, Rxw)
ywin = Maths.planck_taper(y, -Ryw, -Ry, Ry, Ryw)
xywin = reshape(xwin, (1, length(xwin))) .* reshape(xwin, (1, 1, length(xwin)))
xywin = reshape(ywin, (1, length(ywin))) .* reshape(xwin, (1, 1, length(xwin)))

FreeGrid(x, y, kx, ky, r, xywin)
end
Expand Down

0 comments on commit 90bb3d5

Please sign in to comment.