- SEGYTraceHeader.__init__(header=None, endian='>', unpack_headers=False)¶
Will take the 240 byte of the trace header and unpack all values with the given endianness.
- header (str) String that contains the packed binary header values. If header is None, a trace header with all values set to 0 will be created
- big_endian (bool) True means the header is encoded in big endian and False corresponds to a little endian header.
- unpack_headers (bool) Determines whether or not all headers will be unpacked during reading the file. Has a huge impact on the memory usage and the performance. They can be unpacked on-the-fly after being read. Defaults to False.