shift#

torchsim.epg.shift(states, delta=1)[source]#

Shift transverse EPG states due to gradient dephasing.

Parameters:
  • states (SimpleNamespace) – Input EPG matrix.

  • delta (int, optional) – Integer states shift. The default is 1.

Returns:

Output EPG matrix.

Return type:

SimpleNamespace

Examples using torchsim.epg.shift#

Custom Simulator

Custom Simulator