diff --git a/example/recon_config_joss_demo.jl b/example/recon_config_joss_demo.jl index 5ae7b84..8ca59b8 100644 --- a/example/recon_config_joss_demo.jl +++ b/example/recon_config_joss_demo.jl @@ -18,7 +18,7 @@ params_general = Dict{Symbol,Any}(); params_general[:gamma] = 42577478; # General options for reconstruction script: -params_general[:do_load_maps] = true # if true, reloads B₀/SENSE maps instead of recalculating +params_general[:do_load_maps] = false # if true, reloads B₀/SENSE maps instead of recalculating params_general[:do_save_recon] = true # if true, saves reconstruction and all auxiliary image data (maps) as NIfTI files params_general[:do_plot_recon] = true # if true, plots intermediate debugging and output recon figures (needs graphics, not recommended in multi-thread mode due to PyPlot) params_general[:do_process_map_scan] = true # if true, compute sensitivity and B₀ maps from reconstructed Cartesian scan diff --git a/src/GIRFReco.jl b/src/GIRFReco.jl index be4b2e8..e363b5d 100644 --- a/src/GIRFReco.jl +++ b/src/GIRFReco.jl @@ -24,6 +24,7 @@ using MRICoilSensitivities using RegularizedLeastSquares using Flux using MRIReco +using MRIFieldmaps # using MosaicViews diff --git a/src/utils/utils.jl b/src/utils/utils.jl index 4e79b77..c32f3ab 100644 --- a/src/utils/utils.jl +++ b/src/utils/utils.jl @@ -981,7 +981,7 @@ function run_cartesian_recon(params_general) b0_maps, times, out = b0map( reshape(cartesian_reco.data[:, :, :, :, 1, 1], (200, 200, num_slices,1, 2)), (TE1 / 1000.0, TE2 / 1000.0); - smap = ones(size(b0_maps)), + smap = ones(ComplexF32,size(b0_maps,1),size(b0_maps,2),size(b0_maps,3),1), track =true, chat = true, chat_iter = 2