enable_trace

Contents

enable_trace#

pypulseqpp.enable_trace()[source]#

Enable tracing where sequence events and blocks were created. Note that this can slow down sequence creation.

Parameters:

limit (int, optional) – Limit on the stack depth that is stored. Increase when your sequence is created in nested functions and you want to trace back to the original call. The default is 1.

Notes

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