nmrglue.fileio.varian.read_fid_ntraces
- nmrglue.fileio.varian.read_fid_ntraces(filename, shape=None, torder='flat', as_2d=False, read_blockhead=False)[source]
Read a Agilent/Varian binary (fid) file possibility having multiple traces per block.
- 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.- as_2dbool, optional
True to return the data as a 2D array, ignoring the shape and torder parameters.
- read_blockheadbool, optional
True to read the Agilent/Varian blockheaders(s) into the returned dictionary. False ignores them.
- 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 with one trace per block.
read_fid_lowmem
Read a Agilent/Varian binary file with one trace per block using minimal amounts of memory.