RawWrite Trace

class PyLTSpice.raw.raw_write.Trace(name, data, whattype='voltage', numerical_type='')[source]

Bases: DataSet

Helper class representing a trace. This class is based on DataSet, therefore, it doesn’t support STEPPED data. :param name: name of the trace being created :type name: str :param whattype: time, frequency, voltage or current :type whattype: str :param data: data for the data write :type data: list or numpy.array :param numerical_type: real or complex :type numerical_type: str