nmrglue.fileio.bruker.read_binary

nmrglue.fileio.bruker.read_binary(filename, shape=1, cplex=True, big=True)[source]

Read Bruker binary data from file and return dic,data pair

If data cannot be reshaped as described a 1D representation of the data will be returned after printing a warning message.

Parameters :

filename : str

Filename of Bruker binary file.

shape : tuple

Tuple describing shape of resulting data.

cplex : bool

Flag indicating if direct dimension is complex.

big : bool

Endianness of binary file, True for big-endian, False for little-endian.

Returns :

dic : dict

Dictionary containing “FILE_SIZE” key and value.

data : ndarray

Array of raw NMR data.

See also

read_binary_lowmem
Read Bruker binary file using minimal memory.

Previous topic

nmrglue.fileio.bruker.write_lowmem

Next topic

nmrglue.fileio.bruker.write_binary

This Page