Skip to content

Commit

Permalink
fix: cleanup density
Browse files Browse the repository at this point in the history
  • Loading branch information
paquiteau committed Jan 10, 2024
1 parent d7233c7 commit 2f39bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mrinufft/operators/interfaces/gpunufft.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,6 @@ def pipe(cls, kspace_loc, volume_shape, num_iterations=10):
density_comp = np.ones(kspace_loc.shape[0])
for _ in range(num_iterations):
density_comp = density_comp / np.abs(
grid_op.op(grid_op.adj_op(density_comp, True), True)
grid_op.op(grid_op.adj_op(density_comp, None, True), None, True)
)
return density_comp

0 comments on commit 2f39bcf

Please sign in to comment.