Waveform Class

Waveform is a data class which contains waveform data measured by a channel.

waveform = Waveform(
    name="Vout",
    x=x_data,
    y=y_data,
    attributes=channel_attr
)
Table 5. Python Waveform Class Parameters
Parameter Required? Data Type Description
name Yes String Name of the group in the TDMS file.
x Yes String Time data as a series object.
y Yes Channel Waveform data as a channel object.
attributes No Dictionary [String, String] Channel attributes.