nmrglue.fileio.varian.read_lowmem

nmrglue.fileio.varian.read_lowmem(dir='.', fid_file='fid', procpar_file='procpar', read_blockhead=False, shape=None, torder=None)[source]

Read Agilent/Varian files in a directory using minimal amount of memory.

Parameters :

dir : str, optional

Directory holding Agilent/Varian data. Default is the current working directory.

fid_file : str, optional

Filename of binary (fid) file in directory.

procpar_file : str, optional

Filename of procpar file in directory.

read_blockhead : bool, optional

True to read blockheader(s) and return then in the Agilent/Varian parameter dictionary. False (default) does not perform this reading.

shape : tuple of ints, optional

Shape of data in binary file. None (default) will attempt to finds this automatically.

torder : {None, ‘r’, ‘o’, ‘f’ or a Python function} , optional

Description of the mapping of traces in the file to the NMR data matrix. None (the default) will attempt to find this automatically which is typically fine for most NMR experiments. See read() for additional details.

Returns :

dic : dict

Dictionary of Agilent/Varian parameters.

data : array_like

Low memory object which can access NMR data on demand.

See also

read
Read Agilent/Varian files.
write_lowmem
Write Agilent/Varian files using mimimal memory

Previous topic

nmrglue.fileio.varian.write_lowmem

Next topic

nmrglue.fileio.varian.read_fid

This Page