Define variables through new @defvar macro
Compare changes
- Michiel Cottaar authored
+ 47
− 66
@@ -2,8 +2,8 @@ module Pathways
@@ -14,7 +14,7 @@ Describes how a specific spin/isochromat might experience the sequence.
@@ -27,25 +27,24 @@ The RF pulses cause mappings between these different states as described below.
@@ -71,6 +70,9 @@ function Pathway(sequence::Sequence, pulse_effects::AbstractVector, readout_inde
@@ -83,47 +85,49 @@ The requested state can be set using `transverse` and `positive` as follows:
@@ -133,9 +137,10 @@ Only gradients active while the spins are in the transverse plane are considered
@@ -145,8 +150,9 @@ Only gradients active while the spins are in the transverse plane are considered
@@ -156,39 +162,18 @@ Only gradients active while the spins are in the transverse plane will contribut
@@ -276,7 +261,7 @@ For individual pulses and gradients, the following behaviour is implemented:
@@ -285,7 +270,7 @@ The function should return `true` if the `Pathway` has reached its end (i.e., th
@@ -334,7 +319,7 @@ function walk_pathway!(block::BaseBuildingBlock, walker::PathwayWalker, pulse_ef
@@ -353,7 +338,7 @@ function walk_pathway!(block::BaseBuildingBlock, walker::PathwayWalker, pulse_ef
@@ -471,7 +456,7 @@ The following steps will be taken:
@@ -486,9 +471,9 @@ function update_walker_gradient!(gradient::GradientWaveform, walker::PathwayWalk
@@ -496,15 +481,11 @@ end