This repo describes the modified algorithm for fast safe design of spirals submitted to ISMRM 2026. Firstly the original algorithm proposed by Meyer and Hargreaves is described, called here "unsafe design". Afterwards the modified fast safe design is fully derived with all expressions.
Here k-space is described in polar coordinates:
where
Deriving the previous equation we get:
and deriving again we obtain the complex slew rate (G/cm/s):
Nyquist sampling limits add a constraint between
which results in
The two equations above can be used to rewrite expressions for
Then given some initial conditions (
If
After determining
And from these we can calculate the current k-space and gradients.
The modified algorithm is described in the flowchart:
Figure 1. Flowchart of the proposed algorithm.
At every iteration the PNS is computed recursively and if it exceeds the user defined limit
where
where
To design safe spirals for mechanical resonances we follow the same approach proposed by McCready et al (ISMRM 2024). The "instantenous" frequency of the spiral is calculated:
whenever
In the proposed algorithm the gradient amplitude cannot be immediately reduced to that amplitude without violating the slew rate. So at each time-step the gradient amplitude is brought down to the largest value between
At
At the next iteration we have
For the gradient amplitude:
Replacing the previous equation and assuming
where