obspy.core.trace.Trace.newbyteorder

Trace.newbyteorder(byteorder='native')[source]

Change byteorder of the data

Parameters:

byteorder (str) – Byte order to set on the numpy data array, e.g. 'native', 'little' or 'big'. See numpy.dtype.newbyteorder().