KomaMRI.jl icon indicating copy to clipboard operation
KomaMRI.jl copied to clipboard

Allow access to sim_params used for Simulate! in KomaUI() from the REPL

Open curtcorum opened this issue 1 year ago • 2 comments

Feature Request

Allow access to sim_params (and potentially other structures) in the REPL.

This is similar in concept to how obj_ui[], seq_ui[], etc. can be accessed from the REPL.

curtcorum avatar Jun 10 '24 03:06 curtcorum

Hi! We should definitely make this work; it shouldn't be hard to implement (just to copy what we do for the others). In the meantime, while not ideal, you could use

julia> KomaUI(; sim=sim_params, rec=recon_params)

cncastillo avatar Jun 11 '24 14:06 cncastillo

Carlos,

I'll take a look and set up a draft pull request.

Also I was not aware KomaUI took the arguments, thanks!

Hi! We should definitely make this work; it shouldn't be hard to implement (just to copy what we do for the others). In the meantime, while not ideal, you could use

julia> KomaUI(; sim=sim_params, rec=recon_params)

curtcorum avatar Jun 11 '24 15:06 curtcorum