Skip to content
Snippets Groups Projects
Unverified Commit 2bc3fa76 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Fix readout getting

parent 7f458983
No related branches found
No related tags found
1 merge request!2Define variables through new @defvar macro
...@@ -62,7 +62,7 @@ end ...@@ -62,7 +62,7 @@ end
get_pulse(ge::DiffusionSpinEcho) = (excitation=ge[:excitation], refocus=ge[:refocus]) get_pulse(ge::DiffusionSpinEcho) = (excitation=ge[:excitation], refocus=ge[:refocus])
get_gradient(ge::DiffusionSpinEcho) = (gradient=ge[:gradient], gradient2=ge[:gradient2]) get_gradient(ge::DiffusionSpinEcho) = (gradient=ge[:gradient], gradient2=ge[:gradient2])
get_readout(ge::DiffusionSpinEcho) = ge.readout get_readout(ge::DiffusionSpinEcho) = ge[:readout]
get_pathway(ge::DiffusionSpinEcho) = Pathway(ge, [90, 180], 1, group=:diffusion) get_pathway(ge::DiffusionSpinEcho) = Pathway(ge, [90, 180], 1, group=:diffusion)
@defvar begin @defvar begin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment