nmrglue.fileio.rnmrtk.read_lowmem

nmrglue.fileio.rnmrtk.read_lowmem(filename, par_file=None)[source]

Read RNMRTK files with minimal memory usage

Parameters
filenamestr

Filename of RNMRTK file to read (.sec).

par_filestr or None, optional

Filename of RNMRTK parameter file. If None (default) a the last four characters of file are changed to .par.

Returns
dicdic

Dictionary of RNMRTK parameters.

dataarray_like

Low memory object which can access NMR data on demand.

See also

read

Read RNMRTK files.

write

Write RNMRTK files.

Notes

The dictionary parameters are ordered opposite the data layout, that is to say the the FIRST parameter in each list corresponds to the LAST axis in the data array.