rotate#
- pypulseqpp.rotate()[source]#
Rotates the corresponding gradient(s) about the given axis by the specified amount. Gradients parallel to the rotation axis and non-gradient(s) are not affected. Possible rotation axes are ‘x’, ‘y’ or ‘z’.
See also pypulseq.Sequence.sequence.add_block().
- Parameters:
- Returns:
rotated_grads – Rotated gradient(s).
- 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.