Skip to content

Commit

Permalink
add phase_var weighting for B0 combination; this is from SNR standpoi…
Browse files Browse the repository at this point in the history
…nt the optimum
  • Loading branch information
korbinian90 committed Nov 27, 2024
1 parent 60523fc commit 8c4fe31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/romeofunctions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ end
function get_B0_phase_weighting(mag, TEs, type)
if type == :phase_snr
mag .* TEs
elseif type == :phase_var
mag .* mag .* TEs .* TEs
elseif type == :average
to_dim(ones(length(TEs)), 4)
elseif type == :TEs
Expand Down

0 comments on commit 8c4fe31

Please sign in to comment.