mr2.utils.slice_profiles.SincRFPulse

class mr2.utils.slice_profiles.SincRFPulse[source]

Bases: SliceRFPulseBase

Apodized sinc RF pulse template.

__init__(time_bandwidth: float | Tensor = 4.0, apodization: float | Tensor = 0.5)[source]

Initialize the sinc pulse template.

Parameters:
  • time_bandwidth (float | Tensor, default: 4.0) – Time-bandwidth product of the sinc pulse.

  • apodization (float | Tensor, default: 0.5) – Raised-cosine apodization in [0, 1].

forward(flip_angle: Tensor | float, duration: Tensor | float, dt: Tensor | float) Tensor[source]

Create an apodized sinc RF waveform in Tesla.

rf_and_phase(flip_angle: Tensor | float, duration: Tensor | float, dt: Tensor | float) tuple[Tensor, Tensor][source]

Create a discrete RF waveform and phase in rad.