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
9c551a46
Unverified
Commit
9c551a46
authored
10 months ago
by
Michiel Cottaar
Browse files
Options
Downloads
Patches
Plain Diff
Add example code
parent
1027f547
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/src/implemented_sequences.md
+13
-9
13 additions, 9 deletions
docs/src/implemented_sequences.md
with
13 additions
and
9 deletions
docs/src/implemented_sequences.md
+
13
−
9
View file @
9c551a46
...
...
@@ -15,8 +15,9 @@ As an example, the following creates and plots a [`DiffusionSpinEcho`](@ref) tha
using MRIBuilder
using CairoMakie
sequence = DiffusionSpinEcho(bval=1., TE=:min, slice_thickness=2)
plot(sequence)
save("dwi_1_min_2.png") # hide
f = plot(sequence)
f
save("dwi_1_min_2.png", f) # hide
nothing # hide
```

...
...
@@ -26,8 +27,9 @@ If we want a specific [`diffusion_time`](@ref), we can just add it to the constr
using MRIBuilder # hide
using CairoMakie # hide
sequence = DiffusionSpinEcho(bval=1., diffusion_time=80, TE=:min, slice_thickness=2)
plot(sequence)
save("dwi_1_80_min_2.png") # hide
f = plot(sequence)
f
save("dwi_1_80_min_2.png", f) # hide
nothing # hide
```

...
...
@@ -38,8 +40,9 @@ and the additional constraint will just be included in the [sequence optimisatio
using MRIBuilder # hide
using CairoMakie # hide
sequence = DiffusionSpinEcho(bval=1., diffusion_time=80, TE=:min, slice_thickness=2, gradient=(rise_time=15, ))
plot(sequence)
save("dwi_1_80_min_2_15.png") # hide
f = plot(sequence)
f
save("dwi_1_80_min_2_15.png", f) # hide
nothing # hide
```

...
...
@@ -49,9 +52,10 @@ Most sequences will only include an instant readout, unless you directly set the
```
@example
using MRIBuilder # hide
using CairoMakie # hide
sequence = DiffusionSpinEcho(bval=1., diffusion_time=80, TE=:min, voxel_size=2, resolution=(20, 20, 20), gradient=(rise_time=15, ))
plot(sequence)
save("dwi_1_80_min_2_15_epi.png") # hide
sequence = DiffusionSpinEcho(bval=1., TE=:min, voxel_size=2, resolution=(20, 20, 20))
f = plot(sequence)
f
save("dwi_1_80_min_2_15_epi.png", f) # hide
nothing # hide
```

...
...
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