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 :

filename : str

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

shape : tuple 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_blockhead : bool, optional

Not used, retained for compatibility with read_fid()

Returns :

dic : dict

Dictionary of Agilent/Varian binary file parameters.

data : array_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

Previous topic

nmrglue.fileio.varian.write_fid

Next topic

nmrglue.fileio.varian.write_fid_lowmem

This Page