pyrocko.io.segy

Reader for SEGY files.

Functions

ibm2ieee(ibm)

Converts an IBM floating point number into IEEE format.

iload(filename, load_data[, endianness])

Read SEGY file.

ibm2ieee(ibm)[source]

Converts an IBM floating point number into IEEE format. :param: ibm - 32 bit unsigned integer: unpack(‘>L’, f.read(4))

iload(filename, load_data, endianness='>')[source]

Read SEGY file.

filename – Name of SEGY file. load_data – If True, the data is read, otherwise only read headers.