transverse_relaxation#

torchsim.epg.transverse_relaxation(states, E2)[source]#

Apply transverse relaxation.

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

  • E2 (torch.Tensor) – Transverse relaxation operator.

Returns:

Output EPG states.

Return type:

SimpleNamespace

Examples using torchsim.epg.transverse_relaxation#

Custom Simulator

Custom Simulator