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
- dirstr, optional
Directory holding Agilent/Varian data. Default is the current working directory.
- fid_filestr, optional
Filename of binary (fid) file in directory.
- procpar_filestr, optional
Filename of procpar file in directory.
- read_blockheadbool, optional
True to read blockheader(s) and return then in the Agilent/Varian parameter dictionary. False (default) does not perform this reading.
- shapetuple 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
- dicdict
Dictionary of Agilent/Varian parameters.
- dataarray_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