Velocity Encoding#
This module contains functions defining compositions of building blocks commonly used in flow MRI
Functions:
|
Simplified definition of a bipolar M0-compensated gradient waveform: |
|
Defines a sequence of concatenated trapezoidals with flow-compensation over the full duration. |
- bipolar(system_specs, venc, direction, duration=<Quantity(0.0, 'millisecond')>, repetitions=1, start_time=<Quantity(0.0, 'millisecond')>)#
Simplified definition of a bipolar M0-compensated gradient waveform:
. | Delta | . . _____________ _______ . . / \ | . . / | \ G . . / | \ | . . / | \ _____| . . | | . . delta .
\[\begin{split}M1 =& (3 \delta \Delta + \Delta^2 + 2 \delta^2) G \\ \delta =& G/s_{max} \ \ (use\ max\ slew) \\ 0 \stackrel{!}{=}& G\Delta^2 + \frac{3G^2}{s_{max}} \Delta + \frac{2G^3}{s_{max}^2} - M1\end{split}\]Solve the quadratic equation to obtain the flat duration \(\Delta\)
- Parameters:
system_specs (
SystemSpec
) – SystemSpecificationsvenc (
Quantity
) – Quantity[Length/Time] velocity that corresponds to a phase accrual of 2pidirection (
ndarray
) – Vector (3, ) denoting the direction of velocity encodingduration (
Quantity
) – Quantity[Time] denoting the duration of applied VENC-gradients. If 0. the resulting gradients will be the shortest for given system limitsrepetitions (
int
) – number of repetitionsstart_time (
Quantity
) – Quantity[Time]
- Return type:
- Returns:
sequence object
- flow_comp(system_specs, venc_eff, direction, period=<Quantity(0.0, 'millisecond')>, repetitions=1, start_time=<Quantity(0.0, 'millisecond')>)#
Defines a sequence of concatenated trapezoidals with flow-compensation over the full duration.
- Parameters:
system_specs (
SystemSpec
) –venc_eff (
Quantity
) –direction (
ndarray
) –period (
Quantity
) –repetitions (
int
) –start_time (
Quantity
) –
- Return type:
- Returns: