add_gradients

Contents

add_gradients#

pypulseqpp.add_gradients()[source]#

Returns the superposition of several gradients.

Parameters:
  • grads ([SimpleNamespace, ...]) – Gradient events.

  • system (Opts, default=Opts()) – System limits.

  • max_grad (float, default=0) – Maximum gradient amplitude.

  • max_slew (float, default=0) – Maximum slew rate.

Returns:

grad – Superimposition of gradient events from grads.

Return type:

SimpleNamespace

Notes

This is PyPulseq’s function. Events go in as the namespaces it expects and come back with their fields in slots.