nmrglue.fileio.varian.get_blockheader

nmrglue.fileio.varian.get_blockheader(f)[source]

Unpack block header parameters into a list.

Reads the 28-byte block header from f and unpacks into a list. Endiness is corrected as needed.

Returned list contents:

N

Variable

Description

0

scale

scaling factor

1

status

status of data in block

2

index

block index

3

mode

block mode

4

ctcount

ct value of FID

5

lpval

left phase

6

rpval

right phase

7

lvl

level drift correction

8

tlt

tilt drift correction