nmrglue.fileio.rnmrtk.read

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

Read RNMRTK files.

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 : ndarray

Array of NMR data.

See also

read_lowmem
Read RNMRTK files with minimal memory usage.
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.rnmrtk_nd

Next topic

nmrglue.fileio.rnmrtk.write

This Page