@@ -29,11 +29,11 @@ To enable slice selection `min_slice_thickness` has to be set to a number or to
...
@@ -29,11 +29,11 @@ To enable slice selection `min_slice_thickness` has to be set to a number or to
If `min_slice_thickness` is not set or is set to `:min`, then either `bandwidth` or `duration` should be set, otherwise the optimisation might be unconstrained (ignore this for `shape=:instant`).
If `min_slice_thickness` is not set or is set to `:min`, then either `bandwidth` or `duration` should be set, otherwise the optimisation might be unconstrained (ignore this for `shape=:instant`).
## Parameters
## Parameters
For an [`InstantRFPulseBlock`](@ref) (i.e., `shape=:instant`), only the `flip_angle`, `phase`, and `group` will be used. All other parameters are ignored.
For an [`InstantPulse`](@ref) (i.e., `shape=:instant`), only the `flip_angle`, `phase`, and `group` will be used. All other parameters are ignored.
- `optimise`: set to true to optimise this RF pulse separately from the embedding sequence.
- `optimise`: set to true to optimise this RF pulse separately from the embedding sequence.
### Pulse parameters
### Pulse parameters
- `shape`: The shape of the RF pulse. One of `:sinc` (for [`SincPulse`](@ref)), `:constant`/`:hard` (for [`ConstantPulse`](@ref)), or `:instant` (for [`InstantRFPulseBlock`](@ref)).
- `shape`: The shape of the RF pulse. One of `:sinc` (for [`SincPulse`](@ref)), `:constant`/`:hard` (for [`ConstantPulse`](@ref)), or `:instant` (for [`InstantPulse`](@ref)).
- `flip_angle`: size of the flip due to the RF pulse in degrees (default: 90).
- `flip_angle`: size of the flip due to the RF pulse in degrees (default: 90).
- `phase`: angle of the RF pulse in the x-y plane in degrees (default: 0).
- `phase`: angle of the RF pulse in the x-y plane in degrees (default: 0).
- `frequency`: frequency of the RF pulse relative to the Larmor frequency in kHz (default: 0).
- `frequency`: frequency of the RF pulse relative to the Larmor frequency in kHz (default: 0).
...
@@ -51,7 +51,7 @@ For an [`InstantRFPulseBlock`](@ref) (i.e., `shape=:instant`), only the `flip_an
...
@@ -51,7 +51,7 @@ For an [`InstantRFPulseBlock`](@ref) (i.e., `shape=:instant`), only the `flip_an
function excitation_pulse(;flip_angle=90,phase=0.,frequency=0.,shape=:sinc,slice_thickness=Inf,rephase=true,Nzeros=3,group=nothing,rotate_grad=:FOV,bandwidth=nothing,duration=nothing,scanner=nothing,optimise=false)
function excitation_pulse(;flip_angle=90,phase=0.,frequency=0.,shape=:sinc,slice_thickness=Inf,rephase=true,Nzeros=3,group=nothing,rotate_grad=:FOV,bandwidth=nothing,duration=nothing,scanner=nothing,optimise=false)
@@ -90,8 +90,8 @@ If `slice_thickness` is not set or is set to `:min`, then either `bandwidth` or
...
@@ -90,8 +90,8 @@ If `slice_thickness` is not set or is set to `:min`, then either `bandwidth` or
- `optimise`: set to true to optimise this RF pulse separately from the embedding sequence.
- `optimise`: set to true to optimise this RF pulse separately from the embedding sequence.
### Pulse parameters
### Pulse parameters
For an [`InstantRFPulseBlock`](@ref) (i.e., `shape=:instant`), only the `flip_angle`, `phase`, and `group` will be used. All other parameters are ignored.
For an [`InstantPulse`](@ref) (i.e., `shape=:instant`), only the `flip_angle`, `phase`, and `group` will be used. All other parameters are ignored.
- `shape`: The shape of the RF pulse. One of `:sinc` (for [`SincPulse`](@ref)), `:constant`/`:hard` (for [`ConstantPulse`](@ref)), or `:instant` (for [`InstantRFPulseBlock`](@ref)).
- `shape`: The shape of the RF pulse. One of `:sinc` (for [`SincPulse`](@ref)), `:constant`/`:hard` (for [`ConstantPulse`](@ref)), or `:instant` (for [`InstantPulse`](@ref)).
- `flip_angle`: size of the flip due to the RF pulse in degrees (default: 180).
- `flip_angle`: size of the flip due to the RF pulse in degrees (default: 180).
- `phase`: angle of the RF pulse in the x-y plane in degrees (default: 0).
- `phase`: angle of the RF pulse in the x-y plane in degrees (default: 0).
- `frequency`: frequency of the RF pulse relative to the Larmor frequency in kHz (default: 0).
- `frequency`: frequency of the RF pulse relative to the Larmor frequency in kHz (default: 0).
...
@@ -109,7 +109,7 @@ For an [`InstantRFPulseBlock`](@ref) (i.e., `shape=:instant`), only the `flip_an
...
@@ -109,7 +109,7 @@ For an [`InstantRFPulseBlock`](@ref) (i.e., `shape=:instant`), only the `flip_an
function refocus_pulse(;flip_angle=180,phase=0.,frequency=0.,shape=:sinc,slice_thickness=Inf,Nzeros=3,group=nothing,rotate_grad=:FOV,bandwidth=nothing,duration=nothing,spoiler=Inf,scanner=nothing,optimise=false)
function refocus_pulse(;flip_angle=180,phase=0.,frequency=0.,shape=:sinc,slice_thickness=Inf,Nzeros=3,group=nothing,rotate_grad=:FOV,bandwidth=nothing,duration=nothing,spoiler=Inf,scanner=nothing,optimise=false)