Define variables through new @defvar macro
Compare changes
- Michiel Cottaar authored
+ 96
− 33
@@ -6,8 +6,7 @@ module Trapezoids
@@ -38,13 +37,13 @@ Defines a trapezoidal pulsed gradient
@@ -97,9 +96,9 @@ end
@@ -107,14 +106,44 @@ gradient_orientation(pg::Trapezoid{1}) = pg.orientation
@@ -164,23 +193,32 @@ struct SliceSelect{N} <: BaseTrapezoid{N}
@@ -194,8 +232,8 @@ Parameters and variables are identical as for [`Trapezoid`](@ref) with the addit
@@ -203,28 +241,53 @@ struct LineReadout{N} <: BaseTrapezoid{N}