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:
DiffusionTablerecords the path,DiffusionBValueandDiffusionDirectionsthe arguments given, so thatget_diffusion_table()reads the same table back from the file.- Parameters:
seq (Sequence) – The sequence that plays the table, one volume per row.
path – As for
read_diffusion_table().b_value – As for
read_diffusion_table().directions – As for
read_diffusion_table().
- Returns:
b, g – The table, as
read_diffusion_table()returns it.- Return type: