nmrglue.fileio.varian.read_fid_lowmem

nmrglue.fileio.varian.read_fid_lowmem(filename, shape=None, torder='flat', as_2d=False, read_blockhead=False)[source]

Read a Agilent/Varian binary (fid) file using mimimal amounts of memory.

Parameters
filenamestr

Filename of Agilent/Varian binary file (fid) to read.

shapetuple of ints, optional

Shape of the binary data. If not provided data is returned as a 2D array. Required if more than one trace per block (non-standard).

torder{‘f’, ‘n’, ‘o’}

Trace order. See read() for details.

read_blockheadbool, optional

Not used, retained for compatibility with read_fid()

Returns
dicdict

Dictionary of Agilent/Varian binary file parameters.

dataarray_like

Low memory object which can access NMR data on demand.

See also

read_fid

Read a Agilent/Varian binary file.

read_lowmem

Read Agilent/Varian files from a directory using minimal amounts of memory.