@@ -33,7 +33,7 @@ If not set, they will be determined during the sequence optimisation.
- [`duration`](@ref): total pulse duration (2 * `rise_time` + `flat_time`) in ms.
### Gradient variables
- [`gradient_strength`](@ref): Maximum gradient strength achieved during the pulse in kHz/um
- [`qval`](@ref): Spatial scale on which spins will be dephased due to this pulsed gradient in rad/um (given by `δ` * `gradient_strength`).
- [`qval`](@ref)/[`qvec`](@ref): Spatial scale on which spins will be dephased due to this pulsed gradient in rad/um (given by `δ` * `gradient_strength`).
The [`bvalue`](@ref) can be constrained for multiple gradient pulses.
"""
...
...
@@ -78,6 +78,7 @@ function PulsedGradient(model::Model; orientation=nothing, rise_time=nothing, fl
end
end
rise_time=get_free_variable(model,rise_time)
flat_time=get_free_variable(model,flat_time)
grad_vec=slew_rate.*rise_time
res=PulsedGradient(
...
...
@@ -95,14 +96,16 @@ function PulsedGradient(model::Model; orientation=nothing, rise_time=nothing, fl