set_diffusion_table

set_diffusion_table#

pypulseqpp.io.set_diffusion_table()[source]#

Read a diffusion table and record where it is in a sequence’s definitions.

The table is not copied: DiffusionTable records the path, DiffusionBValue and DiffusionDirections the arguments given, so that get_diffusion_table() reads the same table back from the file.

Parameters:
Returns:

b, g – The table, as read_diffusion_table() returns it.

Return type:

numpy.ndarray