Skip to content

Commit

Permalink
axis=0
Browse files Browse the repository at this point in the history
  • Loading branch information
chaithyagr committed Jun 5, 2024
1 parent a3c1a2d commit cab4959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mri/cli/reconstruct.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def dc_adjoint(obs_file: str, traj_file: str, coil_compress: str|int, debug: int
log.info("Getting the DC Adjoint")
dc_adjoint = fourier_op.adj_op(kspace_data)
if not fourier_op.impl.uses_sense:
dc_adjoint = np.linalg.norm(dc_adjoint, axis=-1)
dc_adjoint = np.linalg.norm(dc_adjoint, axis=0)
log.info("Saving DC Adjoint")
save_data_hydra(output_filename, dc_adjoint, data_header)
return dc_adjoint, (fourier_op, kspace_data, traj_params, data_header)
Expand Down

0 comments on commit cab4959

Please sign in to comment.