mr2.utils.slice_profiles.GaussianRFPulse

class mr2.utils.slice_profiles.GaussianRFPulse[source]

Bases: SliceRFPulseBase

Gaussian RF pulse template.

__init__(fwhm_fraction: float | Tensor = 0.35)[source]

Initialize the Gaussian pulse template.

Parameters:

fwhm_fraction (float | Tensor, default: 0.35) – RF Gaussian FWHM relative to pulse duration.

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

Create a Gaussian 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.