Skip to content
Snippets Groups Projects
Verified Commit 06a2ead0 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Fix usage of RFPulseBlock

parent a77b01a9
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ import JuMP: @constraint, @variable, Model, VariableRef, owner_model, value ...@@ -7,7 +7,7 @@ import JuMP: @constraint, @variable, Model, VariableRef, owner_model, value
import StaticArrays: SVector import StaticArrays: SVector
import LinearAlgebra: norm import LinearAlgebra: norm
import ...Variables: qvec, rise_time, flat_time, slew_rate, gradient_strength, variables, duration, δ, get_free_variable, VariableType, inverse_slice_thickness import ...Variables: qvec, rise_time, flat_time, slew_rate, gradient_strength, variables, duration, δ, get_free_variable, VariableType, inverse_slice_thickness
import ...BuildingBlocks: duration, set_simple_constraints!, fixed import ...BuildingBlocks: duration, set_simple_constraints!, fixed, RFPulseBlock
import ...BuildSequences: @global_model_constructor import ...BuildSequences: @global_model_constructor
import ...Gradients: ChangingGradientBlock, ConstantGradientBlock import ...Gradients: ChangingGradientBlock, ConstantGradientBlock
import ..Abstract: interruptions, waveform, AbstractOverlapping import ..Abstract: interruptions, waveform, AbstractOverlapping
...@@ -49,7 +49,7 @@ struct TrapezoidGradient <: AbstractOverlapping ...@@ -49,7 +49,7 @@ struct TrapezoidGradient <: AbstractOverlapping
rotate :: Union{Nothing, Symbol} rotate :: Union{Nothing, Symbol}
scale :: Union{Nothing, Symbol} scale :: Union{Nothing, Symbol}
time_before_pulse :: VariableType time_before_pulse :: VariableType
pulse :: Union{Nothing, Symbol} pulse :: Union{Nothing, RFPulseBlock}
time_after_pulse :: VariableType time_after_pulse :: VariableType
end end
......
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