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

Fix abstract type name

parent 475c1db8
No related branches found
No related tags found
No related merge requests found
module FixedPulses module FixedPulses
import ...BuildingBlocks: PulseBlock, fixed import ...BuildingBlocks: RFPulseBlock, fixed
import ...Variables: variables, duration import ...Variables: variables, duration
...@@ -15,7 +15,7 @@ All arguments should be arrays of the same length N defining these control point ...@@ -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. - `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). - `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} time :: Vector{Float64}
amplitude :: Vector{Float64} amplitude :: Vector{Float64}
phase :: Vector{Float64} phase :: Vector{Float64}
...@@ -42,7 +42,7 @@ Base.show(io::IO, fp::FixedPulse) = print(io, "FixedPulse for $(duration(fp)) ms ...@@ -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. Fixed version of `InstantRFPulseBlock`, where both `flip_angle` and `phase` are actual numbers.
""" """
struct FixedInstantPulse <: PulseBlock struct FixedInstantPulse <: RFPulseBlock
flip_angle :: Number flip_angle :: Number
phase :: Number phase :: Number
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