JuliaHealth / KomaMRI.jl

Koma is a Pulseq-compatible framework to efficiently simulate Magnetic Resonance Imaging (MRI) acquisitions. The main focus of this package is to simulate general scenarios that could arise in pulse sequence development.
https://JuliaHealth.github.io/KomaMRI.jl/dev/
MIT License
104 stars 17 forks source link

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

Open curtcorum opened 3 weeks ago

curtcorum commented 3 weeks ago

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.

cncastillo commented 3 weeks ago

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 commented 3 weeks ago

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)