Gradient design#
Gradient events on one logical gradient axis, and the operations on them. Amplitudes are in Hz/m, slew rates in Hz/m/s, gradient areas in 1/m and times in s, except where a docstring states otherwise; Events and blocks describes the trapezoid and arbitrary gradient events.
Gradient factories#
Object |
Input |
Returns |
Purpose |
|---|---|---|---|
Channel, amplitudes at raster centres, endpoint amplitudes |
Arbitrary gradient event |
Sampled gradient waveform. |
|
Dephasing cycles, voxel size (m), channel, endpoint amplitudes |
Extended trapezoid; vertex times and amplitudes |
Crusher of |
|
Channel, amplitude and time points |
Extended trapezoid (arbitrary gradient event) |
Piecewise-linear gradient waveform. |
|
Area, channel, endpoint amplitudes |
Extended trapezoid; vertex times and amplitudes |
Shortest extended trapezoid for an area. |
|
Channel, endpoint amplitudes, area |
Gradient event; corner times and amplitudes |
Minimum-duration gradient for an area. |
|
Channel, FOV (m), steps, duration |
Trapezoid of area |
Echo-train phase-encode blip. |
|
Channel, resolution (m), duration |
Trapezoid of area |
Largest phase encode, scaled per view. |
|
Channel; area, flat area or amplitude; timing |
Trapezoid event |
Trapezoidal gradient. |
|
Flat time, cycles, amplitude (T/m), channels |
Sine and cosine arbitrary gradients; optional amplitude (T/m) |
Wave-CAIPI wave-encoding gradients. |
Gradient operations#
Each docstring states how the operation changes the event’s timing.
Object |
Input |
Returns |
Purpose |
|---|---|---|---|
Gradient events on one axis |
Gradient event |
Superposition. |
|
Two k-space point pairs |
Connecting k-space points; success flag |
Minimum-time 3D k-space connection. |
|
Gradient events on one channel, in play order |
One gradient event |
Concatenation. |
|
Amplitude and time points, gradient raster |
Waveform on the gradient raster |
Interpolation onto the raster. |
|
Rotation matrix, quaternion or angles; block events |
Non-gradient events, then rotated gradients |
3D rotation of a block’s gradients. |
|
Gradient event, scale factor |
Scaled gradient event |
Amplitude scaling. |
|
Trapezoid |
Ramp-up, plateau and ramp-down events |
Trapezoid decomposition. |
|
Gradient event, time (s) |
Two gradient events whose sum is the input |
Split at a time point. |