Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MRIBuilder.jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michiel Cottaar
MRIBuilder.jl
Commits
8fcfee74
Verified
Commit
8fcfee74
authored
1 year ago
by
Michiel Cottaar
Browse files
Options
Downloads
Patches
Plain Diff
Clarify type hierarchy
parent
5cb63bad
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/waveforms/generic.jl
+8
-2
8 additions, 2 deletions
src/waveforms/generic.jl
with
8 additions
and
2 deletions
src/waveforms/generic.jl
+
8
−
2
View file @
8fcfee74
...
...
@@ -9,10 +9,16 @@ import ...Variables: flip_angle, amplitude, phase, frequency, bandwidth, inverse
"""
Parent type for all objects, where gradients, RF pulses, and/or readouts might overlap with each other.
All children need to be at least convertable into [`GenericWaveform`](@ref).
They might also override specific functions that can be computed more efficiently
Do not sub-type from this type directly, use [`SpecificWaveform`](@ref) instead.
"""
abstract type
AbstractWaveform
<:
ContainerBlock
end
"""
Parent type for any specific gradient waveform that might overlap with RF pulses and/or readouts.
New waveforms should sub-type from this one.
At the very least they should implement a conversion to [`GenericWaveform`](@ref).
"""
abstract type
SpecificWaveform
<:
AbstractWaveform
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment