def get_fileheader(f):
    # header is packed big-endian as 6 longs, 2 shorts, 1 long
    return struct.unpack('>6lhhl', f.read(32))
Unpack file header parameters into a list.
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/varian.py/get_fileheader