Skip to content

Commit 07e82d6

Browse files
authored
Merge pull request #646 from JuliaHealth/fix-docs-slugs
Fix cross-reference slugs
2 parents 9351546 + cf1ee75 commit 07e82d6

5 files changed

Lines changed: 8 additions & 7 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ examples/5.koma_paper/mrf/**/*.mrd
3535
examples/5.koma_paper/comparison_accuracy/**/*.mat
3636
examples/5.koma_paper/comparison_accuracy/**/*.h5
3737
!examples/5.koma_paper/Manifest.toml
38-
*_w.phantom
38+
*_w.phantom
39+
.julia-local/

docs/src/explanation/5-seq-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ julia> plot_seq(seq; slider=false)
371371
<object type="text/html" data="../../assets/event-combination.html" style="width:100%; height:420px;"></object>
372372
```
373373

374-
Once the struct events are defined, it's important to note that to create a single block sequence, you need to provide 2D matrices of **Grad** and **RF** structs, as well as a vector of **ADC** structs as arguments in the [`Sequence`](@ref) constructor.
374+
Once the struct events are defined, it's important to note that to create a single block sequence, you need to provide 2D matrices of **Grad** and **RF** structs, as well as a vector of **ADC** structs as arguments in the [`Sequence`](@ref KomaMRIBase.Sequence) constructor.
375375

376376

377377
## Algebraic manipulation

docs/src/explanation/6-simulation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The are more internal considerations in the **KomaMRI** implementation. The **Fi
88
```@raw html
99
<center><img width="100%" src="../../assets/koma-solution.svg"></center>
1010
```
11-
**Figure 1**: The sequence `seq` is discretized after calculating the required time points in the wrapper function [simulate](@ref). The time points are then divided into `Nblocks` to reduce the amount of memory used. The phantom `obj` is divided into `Nthreads`, and **KomaMRI** will use either `run_spin_excitation!` or `run_spin_precession!` depending on the regime. If an [`ADC`](@ref) object is present, the simulator will add the signal contributions of each thread to construct the acquired signal `sig[t]`. All the parameters: `Nthreads`, `Nblocks`, `Δt_rf`, and `Δt`, are passed through a dictionary called `sim_params` as an optional parameter of the simulate function.
11+
**Figure 1**: The sequence `seq` is discretized after calculating the required time points in the wrapper function [simulate](@ref). The time points are then divided into `Nblocks` to reduce the amount of memory used. The phantom `obj` is divided into `Nthreads`, and **KomaMRI** will use either `run_spin_excitation!` or `run_spin_precession!` depending on the regime. If an [`ADC`](@ref KomaMRIBase.ADC) object is present, the simulator will add the signal contributions of each thread to construct the acquired signal `sig[t]`. All the parameters: `Nthreads`, `Nblocks`, `Δt_rf`, and `Δt`, are passed through a dictionary called `sim_params` as an optional parameter of the simulate function.
1212

1313
From the programming perspective, it is needed to call the [`simulate`](@ref) function with the `sim_params` dictionary keyword argument. A user can change the values of the following keys:
1414

docs/src/explanation/lit-1-phantom.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import DisplayAs #hide
66
# The first input argument that **KomaMRI** needs for simulating is the phantom.
77

88
# This section goes over the concept of digital phantom and shows how it applies to the specific case
9-
# of **KomaMRI**. We'll go into detail about the [`Phantom`](@ref) structure and its supported operations.
9+
# of **KomaMRI**. We'll go into detail about the [`Phantom`](@ref KomaMRIBase.Phantom) structure and its supported operations.
1010

1111
# ## Digital Phantom
1212

@@ -22,7 +22,7 @@ import DisplayAs #hide
2222
# Each spin is independent of the others in terms of properties, position and state.
2323
# This is a key feature of **KomaMRI**, as it is explained in the [Simulation](6-simulation.md) section.
2424

25-
# Let's take a look at the definition of the [`Phantom`](@ref) struct
25+
# Let's take a look at the definition of the [`Phantom`](@ref KomaMRIBase.Phantom) struct
2626
# inside Koma's source code to see what it looks like:
2727
# ```julia
2828
# @with_kw mutable struct Phantom{T<:Real}
@@ -107,7 +107,7 @@ p2 = plot_phantom_map(obj[1:1000], :T2 ; height=450) #hide
107107

108108
# ### Combination of Phantoms
109109

110-
# In the same way, we can add two or more phantoms, resulting in another [`Phantom`](@ref) struct:
110+
# In the same way, we can add two or more phantoms, resulting in another [`Phantom`](@ref KomaMRIBase.Phantom) struct:
111111
obj2 = pelvis_phantom2D()
112112
obj2.x .+= 0.1; obj.x.-= 0.1 #hide
113113
obj_sum = obj + obj2

docs/src/how-to/3-create-your-own-phantom.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ T2 = T2*1e-3
112112
T2s = T2s*1e-3
113113
```
114114

115-
Finally, we can invoke the [`Phantom`](@ref) constructor. However, before doing so, we choose not to store spins where the proton density is zero to avoid unnecessary data storage. This is achieved by applying the mask `ρ.!=0` to the arrays. Additionally, please note that we set the z-position array filled with zeros.
115+
Finally, we can invoke the [`Phantom`](@ref KomaMRIBase.Phantom) constructor. However, before doing so, we choose not to store spins where the proton density is zero to avoid unnecessary data storage. This is achieved by applying the mask `ρ.!=0` to the arrays. Additionally, please note that we set the z-position array filled with zeros.
116116
```julia
117117
# Define the phantom
118118
obj = Phantom(

0 commit comments

Comments
 (0)