convert

Contents

convert#

pypulseqpp.convert()[source]#

Convert a PyPulseq event to a compiled event; return other objects unchanged.

Parameters:

event (object) – A PyPulseq event namespace, a compiled event, or anything else.

Returns:

The compiled event, or event itself when it is not one of the namespaces this converts.

Return type:

object