flow

Contents

flow#

torchsim.epg.flow(states, J1, J2)[source]#

Apply flow dephasing.

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

  • J1 (torch.Tensor) – Flow dephasing operator for longitudinal states.

  • J2 (torch.Tensor) – Flow dephasing operator for transverse states.

Returns:

states – Output EPG states.

Return type:

SimpleNamespace