nmrglue.fileio.rnmrtk.read_lowmem

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

Read RNMRTK files with minimal memory usage

Parameters :

filename : str

Filename of RNMRTK file to read (.sec).

par_file : str or None, optional

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

Returns :

dic : dic

Dictionary of RNMRTK parameters.

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

Previous topic

nmrglue.fileio.rnmrtk.write_lowmem

Next topic

nmrglue.fileio.rnmrtk.read_sec

This Page