From 7f7dc548bf71feb89312ecd6160bb94faf73e9ca Mon Sep 17 00:00:00 2001 From: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk> Date: Sat, 27 Jan 2024 18:58:03 +0000 Subject: [PATCH] Fix abstract type name --- src/pulses/fixed_pulses.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pulses/fixed_pulses.jl b/src/pulses/fixed_pulses.jl index 0d68029..d7dd240 100644 --- a/src/pulses/fixed_pulses.jl +++ b/src/pulses/fixed_pulses.jl @@ -1,6 +1,6 @@ module FixedPulses -import ...BuildingBlocks: PulseBlock, fixed +import ...BuildingBlocks: RFPulseBlock, fixed import ...Variables: variables, duration @@ -15,7 +15,7 @@ All arguments should be arrays of the same length N defining these control point - `amplitude`: amplitude of the RF pulse at every timepoint in kHz. - `phase`: phase of the RF pulse at every timpoint in degrees. If not set explicitly it will be determined by the provided starting `phase` (degrees) and the `frequency` (kHz). """ -struct FixedPulse <: PulseBlock +struct FixedPulse <: RFPulseBlock time :: Vector{Float64} amplitude :: Vector{Float64} phase :: Vector{Float64} @@ -42,7 +42,7 @@ Base.show(io::IO, fp::FixedPulse) = print(io, "FixedPulse for $(duration(fp)) ms Fixed version of `InstantRFPulseBlock`, where both `flip_angle` and `phase` are actual numbers. """ -struct FixedInstantPulse <: PulseBlock +struct FixedInstantPulse <: RFPulseBlock flip_angle :: Number phase :: Number end -- GitLab