phased_multidrive_rf_pulse_op

phased_multidrive_rf_pulse_op#

torchsim.epg.phased_multidrive_rf_pulse_op(fa, phi, slice_prof=1.0, B1=1.0, B1phase=0.0)[source]#

Build RF rotation matrix for a multichannel RF pulse along arbitrary axis.

Parameters:
  • fa (torch.Tensor) – Nominal flip angle in rad for each transmit channel. Expected shape is (nchannels,).

  • phi (float) – RF phase in rad for each transmit channel. Expected shape is (nchannels,).

  • slice_prof (float | torch.Tensor, optional) – Flip angle profile along slice. The default is 1.0.

  • B1 (torch.Tensor, optional) – Flip angle scaling factor for each transmit channel. Expected shape is (nchannels,). The default is 1.0.

  • B1phase (torch.Tensor, optional) – Transmit field phase in rad for each transmit channel. Expected shape is (nchannels,). The default is 0.0.

Returns:

  • T (tuple[tuple[torch.Tensor]]) – RF rotation matrix elements.

  • phi (torch.Tensor) – Nominal net RF phase for signal demodulation.

Return type:

tuple[tuple[tuple[Tensor]], Tensor]