Skip to content

Commit

Permalink
Change option names
Browse files Browse the repository at this point in the history
  • Loading branch information
frankong committed Feb 4, 2020
1 parent f1209d7 commit 8b8a258
Show file tree
Hide file tree
Showing 4 changed files with 164 additions and 164 deletions.
4 changes: 2 additions & 2 deletions sigpy/fourier.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def nufft(input, coord, oversamp=1.25, width=4):
# Interpolate
coord = _scale_coord(coord, input.shape, oversamp)
output = interp.interpolate(
output, coord, kernel='kaiser_bessel', widths=width, params=beta)
output, coord, kernel='kaiser_bessel', width=width, param=beta)
output /= width**ndim

return output
Expand Down Expand Up @@ -188,7 +188,7 @@ def nufft_adjoint(input, coord, oshape=None, oversamp=1.25, width=4):
# Gridding
coord = _scale_coord(coord, oshape, oversamp)
output = interp.gridding(input, coord, os_shape,
kernel='kaiser_bessel', width=width, params=beta)
kernel='kaiser_bessel', width=width, param=beta)
output /= width**ndim

# IFFT
Expand Down

0 comments on commit 8b8a258

Please sign in to comment.