diffusion_table

diffusion_table#

pulserver.mrd.diffusion_table()[source]#

Return the diffusion table an MRD header states, or None when it states none.

Row i is the volume whose repetition counter is i.

Returns:

  • b (numpy.ndarray) – (volumes,), s/mm².

  • g (numpy.ndarray) – (volumes, 3), unit directions along the logical readout, phase and slice axes, which an acquisition’s read_dir, phase_dir and slice_dir state in the patient frame; zero where b is zero.