to_string#

Sequence.to_string(*, waveform_snippet: bool = True) str[source]#

Convert the object into a string.

Parameters:

waveform_snippet (bool) – Flag if the waveform declaration should be added to the top of the resulting sequence. (default = True).

Returns:

String representation of the sequence.

Return type:

str