Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chaithyagr committed Apr 11, 2024
1 parent c13f58f commit 15109c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/mrinufft/extras/smaps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from mrinufft._utils import MethodRegister
from mrinufft.density.utils import flat_traj
from mrinufft.operators.base import with_numpy_cupy, get_array_module
from mrinufft import get_operator


register_smaps = MethodRegister("sensitivity_maps")
Expand Down Expand Up @@ -82,12 +83,13 @@ def extract_kspace_center(

@register_smaps
@flat_traj
def low_frequency(traj, kspace_data, shape, backend, threshold, *args, **kwargs):
def low_frequency(traj, kspace_data, shape, backend, threshold, density=None, *args, **kwargs):
xp = get_array_module(kspace_data)
k_space, traj = extract_kspace_center(
k_space, samples, dc = extract_kspace_center(
kspace_data=kspace_data,
kspace_loc=traj,
threshold=threshold,
density=density,
img_shape=shape,
**kwargs,
)
Expand Down

0 comments on commit 15109c6

Please sign in to comment.