Excitation#

blochsim.Excitation()[source]#

Excitation pulse.

Plays one RF event with the excitation tag at the start of the module. The module holds the timeline for duration_s without rotating over it: an ideal pulse (definition_id=0) turns instantly, and a shaped one turns through the integral of its definition.

Parameters:
  • flip_rad (float or torch.Tensor) – Flip angle, in radians.

  • phase_rad (float or torch.Tensor, default=0.0) – RF phase, in radians.

  • duration_s (float or torch.Tensor, default=0.0) – Time held on the timeline, in seconds.

  • definition_id (int, default=0) – RF definition played; 0 is the ideal pulse.

  • frequency_hz (float or torch.Tensor, default=0.0) – Frequency offset, in Hz.

  • shim_id (int, default=0) – Transmit shim definition; 0 for none.

  • action (EventAction, default=EventAction.NONE) – Gradient action played around the pulse.

Returns:

One RF event, tagged as an excitation, at the start of the module.

Return type:

Operator

Examples using blochsim.Excitation#

3. Custom signal model

3. Custom signal model

5. Custom operator

5. Custom operator