get_signal#

torchsim.epg.get_signal(states, order=0)[source]#

Get signal from EPG matrix.

Parameters:
  • states (SimpleNamespace) – EPG states object.

  • order (int | npt.ArrayLike, optional) – Dephasing order(s) contributing to signal. The default is 0.

Returns:

MR signal.

Return type:

float | complex

Examples using torchsim.epg.get_signal#

Custom Simulator

Custom Simulator