bartorch.tools.epg#
- bartorch.tools.epg(*, C=False, M=False, H=False, F=False, S=False, B=False, flag_1=None, flag_2=None, b=None, o=None, r=None, e=None, f=None, s=None, n=None, u=None, v=None, **extra)#
Simulate MR pulse sequence based on Extended Phase Graphs (EPG)
Runs
bart epg.- Parameters:
C (bool) – CPMG (
-C)M (bool) – fmSSFP (
-M)H (bool) – Hyperecho (
-H)F (bool) – FLASH (
-F)S (bool) – Spinecho (
-S)B (bool) – bSSFP (
-B)flag_1 (float | None) – T1 [units of time] (
-1)flag_2 (float | None) – T2 [units of time] (
-2)b (float | None) – relative B1 [unitless] (
-b)o (float | None) – off-resonance [units of inverse time] (
-o)r (float | None) – repetition time [units of time] (
-r)e (float | None) – echo time [units of time] (
-e)f (float | None) – flip angle [degrees] / refocusing FA for CPMG (
-f)s (int | None) – spoiling (0: ideal, 1: conventional RF, 2: random RF) (
-s)n (int | None) – number of pulses (
-n)u (int | tuple[int, ...] | None) – Unknowns, by index: 0 is T1, 1 is T2, 2 is B1 and 3 is off-resonance. (
-u)v (int | None) – verbosity level (
-v)**extra (Any) – Further BART flags, passed through by name.
- Returns:
signal intensity, configuration states, (rel.) signal derivatives, configuration derivatives
- Return type:
tuple of torch.Tensor