nmrglue.fileio.bruker.read

nmrglue.fileio.bruker.read(dir='.', bin_file=None, acqus_files=None, pprog_file=None, shape=None, cplex=None, big=None, read_prog=True, read_acqus=True)[source]

Read Bruker files from a directory.

Parameters :

dir : str

Directory to read from.

bin_file : str, optional

Filename of binary file in directory. None uses standard files.

acqus_files : list, optional

List of filename(s) of acqus parameter files in directory. None uses standard files.

pprog_file : str, optional

Filename of pulse program in directory. None uses standard files.

shape : tuple, optional

Shape of resulting data. None will guess the shape from the spectral parameters.

cplex : bool, optional

True is direct dimension is complex, False otherwise. None will guess quadrature from spectral parameters.

big : bool or None, optional

Endiness of binary file. True of big-endian, False for little-endian, None to determine endiness from acqus file(s).

read_pprog : bool, optional

True to read pulse program, False prevents reading.

read_acqus : bool, optional

True to read acqus files(s), False prevents reading.

Returns :

dic : dict

Dictionary of Bruker parameters.

data : ndarray

Array of NMR data.

See also

read_pdata
Read Bruker processed files.
read_lowmem
Low memory reading of Bruker files.
write
Write Bruker files.

Previous topic

nmrglue.fileio.bruker.bruker_nd

Next topic

nmrglue.fileio.bruker.write

This Page