obspy.segy.segy.SUFile._readTraces

SUFile._readTraces(unpack_headers=False, headonly=False)[source]

Reads the actual traces starting at the current file pointer position to the end of the file.

Parameters:
  • unpack_header 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.
  • headonly Bool. Determines whether or not the actual data records will be unpacked. Useful if one is just interested in the headers. Defaults to False.

This Page